Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sisu-dev] JUnit 5 in Eclipse Sisu projects

Hi Vladimir,

The simplest approach would be to copy the current PlexusTestCase code into a new class called PlexusTest that doesn't extend the old JUnit TestCase class:

https://github.com/eclipse/sisu.plexus/blob/master/org.eclipse.sisu.plexus/src/org/codehaus/plexus/PlexusTestCase.java

it should be possible to share the static bits between the old and new classes.

Could you open a github issue or PR for this?

Cheers, Stuart

On Tue, 16 Aug 2022, 05:03 Vladimir V. Bychkov, <github@xxxxxxxxxxxx> wrote:

Hello everyone!

Maven plans in future release (4.0.0) migrate their tests to JUnit 5. SIsu components are widely used in Maven an their plugins, but Sisu (Inject/Plexus) have no support JUnit 5 yet. This can be problem for some plugins like maven-plugin-testing-harness, that actively used Sisu Plexus with JUnit 4. Are where plans for migrating Sisu components to JUnit 5?

With regards,
Vladimir V. Bychkov

_______________________________________________
sisu-dev mailing list
sisu-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sisu-dev

Back to the top