I am running multiple Junit tests, running a test results in the console being cleared and populated with the log of the current test. Where will the log file containing the previous test logs be stored. Is there any way in eclipse, by which i can see such deleted logs.
Steps to Open the Console Log in Google ChromeClick on the "Console" tab which is to the right of "Elements". Now you can see the Console and any output that has been written to the Console log.
Click Window > Preferences. Expand C/C++ and Build, then click Console. To display information on the latest build only, select the Always clear console before building check box. To open the Console view when a project is built, select the Open console when building check box.
For that, go to Run → Debug Configurations on Eclipse menu. Then under Standard Input and Output section, click on checkbox next to File: , and choose the name of output file to use. If you check Append underneath, console output will be appended to the output file.
Try the following:
Common
Standard Input and Output
group activate File
and set a fileAppend
CheckboxThat way everything which is printed to the console will also be printed into that 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