Continuous integration with Hudsonat 2009-10-02 in Unittests by friebe (0 comments) The XP Framework's unittest suite has been extended by a new test listener which produces an XML file adequate for continuous integration systems. Test listeners receive events such as when as test run is started, a test succeeds, fails or is skipped and finally when the run is completed. In fact, the dots you see appearing on your console when running tests are implemented with a listener!Here's what the Hudson dashboard looks like: ![]() To make the unittest command produce the XML files necessary to have Hudson render this overview, use the "-l" option: $ unittest -l unittest.XmlTestListener hudson.xml [test [test [...]]] Happy testing |
|