Multi-Language Test Suites
By Curtis Poe (Ovid) Date: Saturday, 28 April 2007 13:30
Duration: 30 minutes Language: TAP is now generated by test suites written in Perl, Python, PHP, C, and many other languages. However, despite so many languages supporting TAP, there's not been an easy way to run test suites which have tests written with more than one programming language -- until now.
Enter TAPx::Parser. With the 'runtests' utility and a properly written 'execrc' file, you can have fine-grained control over how to run individual tests and still have a single test harness collect all results.
You can also use the new testing framework to handle tests any way you would like. Colored output, GUIs, easy emailing of test failures, identify which TODO tests unexpectedly succeeded, and many more things are now possible. |