Changes for version 1.000 - 2013-03-08
- INCOMPATIBLE CHANGES
- importing Test::Roo makes the current class a subclass of Test::Roo::Class; all methods moved there instead of being exported
- Test::Roo now only exports 'test' and 'run_me'
- done_testing is never called automatically
- ADDED
- Test::Roo::Class has 'run_tests' method for creating and running tests; can be called as object or class method
- Test::Roo::Class has lazy 'description' attribute for generating descriptions from test attributes
- Added 'each_test' hook for global actions before/after every test
- DOCUMENTED
- Includes Test::Roo::Cookbook with examples
- Test::Roo docs explain differences from Test::Routine
Modules
Composable tests with roles and Moo
Base class for Test::Roo test classes
Test::Roo examples
Composable role for Test::Roo
Examples
- examples/cookbook/hookable_test.t
- examples/cookbook/lib/CorpusCheck.pm
- examples/cookbook/lib/IteratorTest.pm
- examples/cookbook/single_file.t
- examples/cookbook/sqlite-confirm.t
- examples/cookbook/sqlite.t
- examples/cookbook/standalone.t
- examples/cookbook/test-pcr.pl
- examples/cookbook/test-pir.pl
- examples/cookbook/with_tempd.t
- examples/cookbook/wrapped.t
- examples/synopsis/README
- examples/synopsis/t/lib/MyTestRole.pm
- examples/synopsis/t/test.t