Syntactic Confectionery Delight | |
PerlMonks |
Test::Pockito, a new module for mocking stuffby exussum0 (Vicar) |
on Jul 26, 2010 at 20:02 UTC ( [id://851420]=perlmeditation: print w/replies, xml ) | Need Help?? |
Hi. If you know java, do unit testing and have heard of Mockito, I've semi-ported it to perl.
I wanted to test Voldemort in a specific way and didn't find anything that supported testing in the way I wanted to, in the form of: when something occurs, then respond however I want to, either in a default fashion, some code gets executed or return something. Thanks, Corion, for being mildly excited about it, and providing some input. Lots of work left to do on it. Edit: I noted Corion approved this node. If mentioning him makes him approve, I wonder if complimenting his dashing good looks will front page it. I keed. Edit2: Well played ww
Back to
Meditations
|
|