File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes junit log file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "junit log file" Watch "junit log file" New topic

junit log file

ashok ks
Ranch Hand

Joined: Oct 31, 2003
Posts: 55
Where junit log file resides and what are the information junit log file contains ?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
When I run my junit task in an Ant script, the JUnit runner keeps a temporary log file in the "current directory". However, it deletes the file once it's finished so I have no idea what it contains. Probably some kind of a list of test names, stack traces, pass/fail, etc.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: junit log file
It's not a secret anymore!