Re: Command line parameter with JUnit

2020-06-20 Thread Ernie Rael
There's also http://plugins.netbeans.org/plugin/20356/jlogman It runs on NB-11.0 or later. (it's in the process of being made available on maven and should end up in the new plugin portal soon). You can see its docs via raelity.com/jlogman -ernie On 6/20/2020 9:48 AM, Jerome Lelasseux wrote:

Re: Command line parameter with JUnit

2020-06-20 Thread Jerome Lelasseux
Thanks emi. That was it. But I'm only half way: where are the logged messages during unit tests ?? When I run my platform app normally I find them in netbeans-user-dir/var/log/messages.log, but is there a .log file for unit tests? I've searched for one but without success... Le samedi 20

Re: Command line parameter with JUnit

2020-06-20 Thread Emilian Bold
Maybe just plain -D --emi On Sat, Jun 20, 2020 at 7:48 PM Jerome Lelasseux wrote: > > I need to change the logging level of some files during unit tests (NB 11.3). > > According to this wiki page > http://wiki.netbeans.org/DevRunningTestsPlatformApp it's possible to add > command line parame

Command line parameter with JUnit

2020-06-20 Thread Jerome Lelasseux
I need to change the logging level of some files during unit tests (NB 11.3). According to this wiki page http://wiki.netbeans.org/DevRunningTestsPlatformApp   it's possible to add command line parameters for unit tests using the "test.run.args" property. But when I add  "test.run.args=-J-DMyLo