The Art of Test Driven Development: Logging JUnit Test Results | Gary Gregory
In an IDE like Eclipse, you can watch the JUnit view to see tests progress. Wouldn't it be nice to be able to do whatever you want with tests results on the fly?
What we'll show you here as an alternative is logging your test results while JUnit runs your tests. This gives you all the power of Log4j to direct test results all over the place, from a simple console, to a database, a JMS queue, or any of the long list of appenders Log4j provides. You can provide your own Log4j appender as well for custom processing.
Read full article from The Art of Test Driven Development: Logging JUnit Test Results | Gary Gregory
No comments:
Post a Comment