Re: How to see test case logs in Intellij

2022-05-18 Thread Mikhail Khludnev
Hi, Shah. I guess I see something like this recently. When I run Lucene test in intellyJ via gradle, debug view has two tabs: TestFooBar, :test. Stack and variables are shown in latter one but console output is shown in the former one. On Wed, May 18, 2022 at 9:27 PM Rushabh Shah wrote: > Hi Luc

Re: How to see test case logs in Intellij

2022-05-18 Thread Dawid Weiss
Also, IntelliJ can run tests in two modes - via gradle or directly. If you switch to direct mode, the logs should be printed without any additional properties. Dawid On Wed, May 18, 2022 at 8:53 PM Robert Muir wrote: > > Tests generally don't print or log anything. > > If you want them to print

Re: How to see test case logs in Intellij

2022-05-18 Thread Rushabh Shah
Thank you Robert ! Rushabh Shah On Wed, May 18, 2022 at 11:52 AM Robert Muir wrote: > Tests generally don't print or log anything. > > If you want them to print tons of stuff, pass -Ptests.verbose=true to > gradle. > You can do it in idea IDE by going to "Run" menu, "Edit > Configurations", a

Re: How to see test case logs in Intellij

2022-05-18 Thread Robert Muir
Tests generally don't print or log anything. If you want them to print tons of stuff, pass -Ptests.verbose=true to gradle. You can do it in idea IDE by going to "Run" menu, "Edit Configurations", and adding -Ptests.verbose=true to the command line of the particular test (e.g. TestDemo) On Wed, Ma

How to see test case logs in Intellij

2022-05-18 Thread Rushabh Shah
Hi Lucene devs, I am pretty new to the Lucene project and to the Gradle build tool also. When I run any test case via Intellij, I am not able to see any logs related to that test case. Do I need to set some special property in some config file to view the logs ? Please help. Thank you. Rushabh Sh