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

2022-03-20 Thread John Patrick
I've update my example with more of my setup https://gist.github.com/nhojpatrick/e598205e23ff3ee226673d11bc339bf6 For your example you talk about suite, I've not used suite, based upon jupiter and vintage, I would expect you would need to add junit-platfore-suite-engine as a dependency so the

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

2022-03-20 Thread Tibor Digana
There was the same question maybe one week ago. I have created an example with JUnit4, see the next, and used the configuration parameter ComponentTestSuite where the command naturally works: mvn -Dtest=ComponentTestSuite test [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time

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, see the next, and used the >

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

2022-03-20 Thread Tibor Digana
Hello David, I have an internal fix, zou won't be able to have it today. :-) But if you have created the Jira ticket for us, we would make sure we are on the right way. This is my suite class with JUnit5, just a principle (there might be more children classes of course), and I use the command

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, > > I have an internal fix, zou

[ANN] Apache Maven JXR 3.2.0 Released

2022-03-20 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache JXR, version 3.2.0 The Apache Maven JXR project is a library to analyze a set of Java source files and produces documentation in HTML format à la Javadoc. The Apache Maven JXR Plugin produces a cross-reference of the project's

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

2022-03-20 Thread Tibor Digana
Thx David, I will ping you with a pull request on Github soon. Cheers Tibor On Sun, Mar 20, 2022 at 8:23 PM KARR, DAVID wrote: > Here's my ticket: https://issues.apache.org/jira/browse/SUREFIRE-2040 . > > > -Original Message- > > From: Tibor Digana > > Sent: Sunday, March 20, 2022

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

2022-03-20 Thread Tibor Digana
Hey David, Here is the PR. You can see the integration test of documentation with the principles. Pls find it and let me know you like it, feel free to put +1 in your comment. https://github.com/apache/maven-surefire/pull/494 As I said in JIRA, the combination of JUnit4 and JUnit5 is not the

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

2022-03-20 Thread Tibor Digana
David, for you the most important value is to see the POM of the IT. I guess you have the dependencies, configuration with the framework we have in the IT. We have one successful test which is the test behind the suite, we have verified what test and suite and provider run. T On Mon, Mar 21,

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

2022-03-20 Thread Tibor Digana
The principles in junit providers are +/- the same, or they should be. So it was easy to find the difference and make the fix! T On Mon, Mar 21, 2022 at 12:25 AM Tibor Digana wrote: > Hey David, > > Here is the PR. > You can see the integration test of documentation with the principles. Pls >

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

2022-03-20 Thread KARR, DAVID
I think I'll have to take your word for it. I don’t know anything about your build or runtime architecture to comment. I only found one change that looked like an actual business logic change, relating to adding the wildcard filter to the TestListResolver, but I don't know what that means.