This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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]
subject: junit log file
It's not a secret anymore!