Acme-Teddy
view release on metacpan or search on metacpan
lib/Acme/Teddy.pm view on Meta::CPAN
237238239240241242243244245246247248249250251252253254255256257
# Your target code here.
}
# Your test here.
Start a test script
with
a bare block in AT (or subclass it). Then define
whatever behavior you like. After you switch into
"your own"
package
, test
for
that behavior. You should be able to verify by eye that your expectations
are correct; therefore, you can concentrate on debugging your testing module.
Writing the bare block is just like writing a module, except that much of the
dull work is done
for
you.
the bare block; so don't
do
that. It does not seem to be necessary to make
this a C<BEGIN> block;
if
you find any counterexample, please contact author.
Be sure to define it, whatever it is.
( run in 0.369 second using v1.01-cache-2.11-cpan-00829025b61 )