Hi Slawomir, The reality is different. It's not the frameworks but providers. So the plugin iterates over providers. You may choose whether you will define the provider artifacts in plugin deps or you let the plugin to select the providers upon dependencies which means that there is some logic and JUnit5 deps may activate one provider for both the junit4 and 5.
T On Tue, Nov 2, 2021 at 7:46 PM Slawomir Jaranowski <s.jaranow...@gmail.com> wrote: > Hi, > > When multiple test frameworks are present on project classpath surefire > chooses one framework for running the tests. > > In such situations, some tests are silently skipped. > > > I've created issue [1] for it with a simple proposition. > > After discussion on slack another proposition was in place to detect the > test framework with other dependencies and choose a proper provider. > > Or use multiple providers instead of only one. > > > It will be good to choose how to solve this problem. > > > [1] https://issues.apache.org/jira/browse/SUREFIRE-1954 > > -- > Sławomir Jaranowski > > https://twitter.com/SlawekJaran > https://github.com/slawekjaranowski > https://linkedin.com/in/slawomirjaranowski >