?

Log in

Building

Perl

In the middle of writing some perl test cases for code I've been writing (Trying to avoid writing the rest of the documentation)

Failed 4/15 test scripts, 73.33% okay. -2/719 subtests failed, 100.28% okay.

Comments

I'm sure I saw some module somewhere to let you unit test your documentation.
Perl::Critic will moan about missing documentation if you crank it up to "cruel", although it doesn't like things like unless... (Configurable I know)

Systematically going through and writing the test cases has been an enlightening process, especially when it comes to spotting duplicate code, at some point I might try the "write your test cases before you write your code"
fireworks

August 2010

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    
Powered by LiveJournal.com