The following module was proposed for inclusion in the Module List: modid: Test::Subs DSLIP: bdpfp description: Tests with anonymous code block userid: MATHIAS (Mathias Kende) chapterid: 3 (Development_Support) communities:
similar: Test::Simple, Test::Functionnal rationale: This proposed Test::Subs module offer a lightweight syntax based on anonymous subroutine to declare Tap::Harness compliant test plan. As opposed to other module, the main functionnalities of Test::Subs are that the user does not need to pre-declare the number of test to run (so all modification) in a test file are locals and the declaration of the tests is done with a syntax based on anonymous code block, which I believe (subjectively) are cleaner and easier to read than the list of value used by other module. Similar modules includes: - Test, Test::Simple and Test::More, suffering from the (perceived) draw-backs described above. - Test::Functionnal is quiet close to the proposed Test::Subs but with a less straightforward syntax that may confuse non experienced Perl programmer having to maintain some code. enteredby: MATHIAS (Mathias Kende) enteredon: Wed Jan 2 20:00:37 2013 GMT The resulting entry would be: Test:: ::Subs bdpfp Tests with anonymous code block MATHIAS Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=0d800000_537a80251a5be9e9&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=0d800000_537a80251a5be9e9&SUBMIT_pause99_add_mod_insertit=1 Peek at the current permissions: https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Test%3A%3ASubs