Unitils: 2.0 released


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Unitils: 2.0 released
# 1  
Old 10-29-2008
Unitils: 2.0 released

Unitils provides utilities to simplify unit-testing with JUnit or TestNG. It builds further on DBUnit and integrates with Hibernate and Spring. The goal is to make unit-testing easy and maintainable by offering utilities such as automatic DB-schema maintenance and equality assertion through reflection.
ImageImage

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
TAP::Formatter::JUnit::Session(3pm)			User Contributed Perl Documentation		       TAP::Formatter::JUnit::Session(3pm)

NAME
TAP::Formatter::JUnit::Session - Harness output delegate for JUnit output DESCRIPTION
"TAP::Formatter::JUnit::Session" provides JUnit output formatting for "TAP::Harness". METHODS
_initialize($arg_for) Over-ridden private initializer, so we can accept a new "passing_todo_ok" argument at instantiation time. result($result) Called by the harness for each line of TAP it receives. Internally, all of the TAP is added to a queue until we hit the start of the "next" test (at which point we flush the queue. This allows us to capture any error output or diagnostic info that comes after a test failure. close_test() Called to close the test session. Flushes the queue if we've got anything left in it, dumps the JUnit to disk (if necessary), and adds the XML for this test suite to our formatter. dump_junit_xml($testsuite) Dumps the JUnit for the given XML $testsuite, to the directory specified by "PERL_TEST_HARNESS_DUMP_TAP". add_testcase($case) Adds an XML test $case to the list of testcases we've run in this session. xml() Returns a new "XML::Generator" to generate XML output. This is simply a shortcut to "$self->formatter->xml()". AUTHOR
Graham TerMarsch <cpan@howlingfrog.com> COPYRIGHT
Copyright 2008-2010, Graham TerMarsch. All Rights Reserved. This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
TAP::Formatter::JUnit. perl v5.14.2 2012-03-12 TAP::Formatter::JUnit::Session(3pm)