cucumber / cucumber-jvm

Cucumber for the JVM
https://cucumber.io
MIT License
2.69k stars 2.02k forks source link

Architecture diagram for Cucumber JUnit Platform Engine #2897

Open mpkorstanje opened 1 week ago

mpkorstanje commented 1 week ago

🤔 What's the problem you've observed?

When using Gradle/Maven with Cucumber and JUnit 5 we have a few layers of framework.

Maven Surefire -> JUnit Platform -> Jupiter Engine
Maven Surefire -> JUnit Platform -> Cucumber Engine -> Cucumber
Maven Surefire -> JUnit Platform -> Suite Engine -> Cucumber Engine -> Cucumber

Understanding this is important when it comes to the behavior of cucumber.features and the relevance of -Dsurefire.includeJUnit5Engines=cucumber and -Dsurefire.includeJUnit5Engines=junit-platform-suite.

Currently this leads of questions such as:

✨ Do you have a proposal for making it better?

Create a Mermaid diagram with the architecture. Then try to add information that references this diagram to clarify the questions above.

📚 Any additional context?

No response