Reading test output from a file
Hello-
I have a command-line tool that will emit a file with our test results. This file is in xUnit format. How can I get TeamCity to ingest that file so it can report on test success/failure?
Regards,
Eric
P.S. - The comand-line tool is CasperJS
Please sign in to leave a comment.
XML Report Processing build feature allows to import test reports from external files at build finish.
We recently published an article which covers the setup of TeamCity for automated headless testing of Javascript code - both Jasmine and CasperJS - in detail.
It also explains how to setup the XML Report Processing build feature. :)
Check it out here:
http://www.jrubyonrails.de/2013/03/continuous-integration-for-jasmine--and-casperjs-tests.html