I want to know,
How can I get Junit console output to log file?
As example, I have put Assert.equals() methods. I want to know passed method and what are the failed methods also. I tried to find method to do that, but I was unable.
If you are using eclipse, you can achieve it by going to Run configuration > Common > Output file> giving path of your log file.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With