| Test-Cookbook documentation | view source | Contained in the Test-Cookbook distribution. |
Test::Cookbook - Write your tests as cookbooks
With your test formatted as a cookbook in t/005_cookbook.t
$> ./Build test $> ./Build test --test_files t/005_cookbook.t $> prove t/005_cookbook.t $> runtests t/005_cookbook.t $> pod_tested.pl -i t/005_cookbook.t -o cookbook.pod
This module is wrapper around POD::Tested. POD::Tested let's you write POD containing tests. I use it mainly to write cookbooks with the ability to check the cookbook and generate part of it.
I started by writing tests, then I copied the tests into the cookbook. Then it hit me that both could be the same. That I could write my tests as cookbooks.
These are the advantages when writing your tests as cookbooks:
This is automatically called for you by Perl
None so far.
Khemir Nadim ibn Hamouda CPAN ID: NKH mailto:nadim@khemir.net
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
You can find documentation for this module with the perldoc command.
perldoc Test::Cookbook
You can also look for information at:
Please report any bugs or feature requests to L <bug-test-cookbook@rt.cpan.org>.
We will be notified, and then you'll automatically be notified of progress on your bug as we make changes.
| Test-Cookbook documentation | view source | Contained in the Test-Cookbook distribution. |