-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
User story
As a Java developer, I can use a Junit 5 extension that eases common tasks during test implementation, such as deploying process models.
Background
We are supporting JUnit3 and JUnit4 already. Have a look at ProcessEngineRule (https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/test/ProcessEngineRule.java) for how it works for JUnit 4. JUnit 5 has a new extension mechanism (https://junit.org/junit5/docs/current/user-guide/#extensions) that is not compatible with JUnit 4 rules.
Acceptance Criteria
- There is a JUnit 5 extension that has the same features that ProcessEngineRule has
Implementation hints
- The implementation can be close to what ProcessEngineRule does. Especially the methods from TestHelper (https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/test/TestHelper.java) can be reused.