How to use JUnit parallel test execution with biz.aQute.tester.junit-platform

I would like to run my JUnit 5 tests concurrently.

I do have a junit-patform.properties file with all the necessary configs in my src/test/resources folder and when I run the tests normally in Eclipse or using Maven, they are executed concurrently.

However, when I run the tests via the bnd Eclipse plugins or via the bnd maven test plugin, it seems that JUnit does not discover the junit-patform.properties which is in a test fragment and does not run the tests concurrently.

How can I properly inject the JUnit settings into the bnd/osgi test environment so that the tests get executed concurrently?

Unfortunately, the short answer is that there is not currently a way to do this. It could perhaps be added.

One thing to check: the filename in the post is junit-patform.properties, but JUnit Platform expects junit-platform.properties. If that’s only a typo in the post, then the existing answer still applies: the bnd test setup currently has no supported way to pass those settings through.