advertisement

O'Reilly Tags

We're experimenting with a folksonomy based on tag data provided by del.icio.us. Follow development in this blog post.


Perl Code Kata: Testing Imports (4 tags)
Persistently practicing good programming will make you a better programmer. It can be difficult to find small tasks to practice, though. Fear not! Here's a 30-minute exercise to improve your testing abilities and your understanding of module importing and exporting.

Perl Code Kata: Testing Databases (3 tags)
Testing simple code is all well and good, but what happens when your real code has to work with external programs, such as databases? How do you test your code adequately without going crazy writing scaffolding that has no chance of working anywhere but your test box? Stevan Little suggests that DBD::Mock can round out your test toolbox nicely in this Perl Test Kata.

Perl Code Kata: Testing Taint (2 tags)
Persistently practicing good programming will make you a better programmer. It can be difficult to find small tasks to practice, though. Fear not! Here's a 30-minute exercise to improve your testing abilities and your understanding of Perl's taint mode.

Perl Code Kata: Mocking Objects (2 tags)
One problem with many examples of writing test code is that they fake up a nice, perfect, self-contained world and proceed to test it as if real programs weren't occasionally messy. Real programs have to deal with external dependencies and work around odd failures, for example. How do you test that? In this Perl Code Kata, Stevan Little presents exercises in using Test::MockObject to make the messy real world more testable.