I am trying to run an integration test based on GroovyTestCase. He got the built-in log property according to the docs API . At first, I tried to register an informational message when starting the test, using this site as a link. I was surprised that my registration messages did not appear on the console in IntelliJ9, so I tried to run my integration test on my Mac from a terminal window. However, I did not see any output, although my code set the logging level to EVERYTHING and I used ConsoleHandler.
I almost refused it, but noticed a message in the terminal window saying that my failed tests were in the target / test-reports folder.
Oddly enough, I don’t even see the target folder in the Project Explorer IntelliJ9 window, regardless of the view as an option that I accept. Therefore, I think that there is one question that I would like to solve.
In any case, I kept track of the error report, and when I turn to the failed test of the HTML report, there is a link to system.err and voila. There is my way out, which I expected to see! So, the second part of this: is there any UNIX system.err redirect to system.out I need to do to see this output in my IDE?
Any ideas?
I figured out how to display the target folder ... Project structure → Modules → Excluded folders click x against the target in the excluded section (to the left of the folders) You can delete it again by the project structure → Modules → click the “target” folder and then the “ Excluded "above the list of folders
Jgfmk source
share