Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
gt; > Sent: Sunday, March 20, 2022 4:32 PM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > > > The principles in junit providers are +/- the same, or they should be. > > So it was easy to find the difference and make the fix!

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
my ticket: > https://urldefense.com/v3/__https://issues.apache.org/jira/browse/SUREFI > RE-2040__;!!BhdT!lFqcUUy0111TgmVTkjtCGYx0nVsQnYDTocJ9YXlK- > lioUt5rbtuGB_V1sLb284E5LAqrLQkEGXLu3BaYyUTU$ . > >> > >> > -Original Message- > >> > From: Tibor Digana >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
IRE-2040 . >> >> > -Original Message- >> > From: Tibor Digana >> > Sent: Sunday, March 20, 2022 12:03 PM >> > To: Maven Users List >> > Subject: Re: Can't get Surefire to run any JUnit 5 tests >> > >> > Hello David, >> &

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
wse/SUREFIRE-2040 . > > > -Original Message- > > From: Tibor Digana > > Sent: Sunday, March 20, 2022 12:03 PM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > > > Hello David, > > > >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
unday, March 20, 2022 12:03 PM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > > > Hello David, > > > > I have an internal fix, zou won't be able to have it today. :-) But if > > you have created the

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
Here's my ticket: https://issues.apache.org/jira/browse/SUREFIRE-2040 . > -Original Message- > From: Tibor Digana > Sent: Sunday, March 20, 2022 12:03 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > Hello David, > >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
: > > -Original Message- > > From: Tibor Digana > > Sent: Sunday, March 20, 2022 6:42 AM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > > > There was the same question maybe one week ago. > > I h

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
> -Original Message- > From: Tibor Digana > Sent: Sunday, March 20, 2022 6:42 AM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > There was the same question maybe one week ago. > I have created an example with JUnit4

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread Tibor Digana
o tests were executed". > I've > > > tried numerous variations of this. > > > > > > The minimal class I have is this: > > > > > > import org.junit.platform.suite.api.SelectClasses; > > > import org.junit.platform.suite.a

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread John Patrick
've > > > tried numerous variations of this. > > > > > > The minimal class I have is this: > > > > > > import org.junit.platform.suite.api.SelectClasses; > > > import org.junit.platform.suite.api.Suite; > > > > >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread David Karr
t; > > > > On Sat, Mar 19, 2022 at 9:32 PM KARR, DAVID wrote: > > > > > > > One thing that I see I neglected to mention in this post, but which I > > > > did mention in the SO posting I linked to, is that I have both Junit5 > > > > and > >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Tibor Digana
xperimented with those, but I still haven't gotten anything to work. > > > -Original Message- > > From: Tibor Digana > > Sent: Saturday, March 19, 2022 1:55 PM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > >

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
ost, but which I > > did mention in the SO posting I linked to, is that I have both Junit5 > > and > > Junit4 tests in scope. I believe that is at least one element that > > makes this more complicated. > > > > > -----Original Message----- > > >

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Tibor Digana
more complicated. > > > > > -Original Message- > > > From: Tibor Digana > > > Sent: Saturday, March 19, 2022 1:27 PM > > > To: Maven Users List > > > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > > > > > I

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Tibor Digana
I believe that is at least one element that makes > this more complicated. > > > -Original Message- > > From: Tibor Digana > > Sent: Saturday, March 19, 2022 1:27 PM > > To: Maven Users List > > Subject: Re: Can't get Surefire to run any JUnit 5 tests

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Dan Tran
e both Junit5 and > Junit4 tests in scope. I believe that is at least one element that makes > this more complicated. > > > -Original Message- > > From: Tibor Digana > > Sent: Saturday, March 19, 2022 1:27 PM > > To: Maven Users List > > Subject: Re

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
Digana > Sent: Saturday, March 19, 2022 1:27 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > I have created a project which proves that it works with Surefire 3.0.0- > M5, JUnit Jupiter 5.8.2 and Mockito Extension. Please do not use JUnit4 &g

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Tibor Digana
I have created a project which proves that it works with Surefire 3.0.0-M5, JUnit Jupiter 5.8.2 and Mockito Extension. Please do not use JUnit4 and Vintage in this case. It is not necessary to use a dependency inside of the plugin. Use a dependency in the project POM. Follow it on Github:

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
> -Original Message- > From: Dan Tran > Sent: Friday, March 18, 2022 11:19 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > may relate to this > https://urldefense.com/v3/__https://issues.apache.org/jira/browse/SURE

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread John Patrick
>From your stackoverflow post I move your your junit-jupiter-engine dependency to a project dependency instead of a test dependency. Eclipse is probably working as it's own IDE logic/dependencies/support, not maven's. I've also switched over to using the bom, so have config like.

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Dan Tran
may relate to this https://issues.apache.org/jira/browse/SUREFIRE-2033 -D On Fri, Mar 18, 2022 at 10:53 PM David Karr wrote: > I, along with two other people on my team, have spent days and days now > trying to figure out why we cannot get Surefire to execute JUnit 5 tests. > We've all been

Can't get Surefire to run any JUnit 5 tests

2022-03-18 Thread David Karr
I, along with two other people on my team, have spent days and days now trying to figure out why we cannot get Surefire to execute JUnit 5 tests. We've all been working independently, so we don't all take the same path, but it didn't really matter, as all three of us are pretty much stuck at the