# Test::Class
{id: test-class}

## Simple module to test 
{id: simple-module-to-test}

![](examples/test-class/lib/MyApp.pm)

## Test::Class simple example
{id: test-class-simple-example}
{i: Test::Class}

* [Test::Class](https://metacpan.org/pod/Test::Class)

* use the Test attribute to mark a function as test

![](examples/test-class/t/lib/MyApp.pm)
![](examples/test-class/t/01-test-myapp.t)

## Test::Class with fixtures
{id: test-class-with-fixtures}

![](examples/test-class/t/lib/MyAppMore.pm)
![](examples/test-class/t/02-test-myapp-more.t)

## Test::Class run both test classes
{id: test-class-run-both}

![](examples/test-class/t/10-test-both.t)

## Test::Class inline
{id: test-class-inline}

![](examples/test-class/t/00-inline.t)

## Test::Class Load
{id: test-class-load}

![](examples/test-class/t/20-load.t)
