Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
efault/ I havent used plexus since sisu and google-guice were released does this answer your question? m. From: Benson Margulies Sent: Friday, May 8, 2020 5:16 PM To: Maven Developers List Cc: volf...@google.com Subject: Running mojo unit test in the debugger

Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
From: Benson Margulies Sent: Friday, May 8, 2020 5:16 PM To: Maven Developers List Cc: volf...@google.com Subject: Running mojo unit test in the debugger I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE

Re: Running mojo unit test in the debugger

2020-05-08 Thread Olivier Lamy
perso I'm using -Dmaven.surefire.debug and attach a debugger I only trust Maven build (not IDE build :) ) On Sat, 9 May 2020 at 07:17, Benson Margulies wrote: > I am trying to recall how to debug a Junit test that uses > AbstractMojoTestCase. Simply asking an IDE to debug the test fails with >

Running mojo unit test in the debugger

2020-05-08 Thread Benson Margulies
I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE to debug the test fails with plexus container errors. I cannot recall if these can be debugged as ordinary unit tests somehow, or whether we need to set remote debugging options to the surefire