Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Architecture diagram for Cucumber JUnit Platform Engine #2897

Open
mpkorstanje opened this issue Jun 29, 2024 · 0 comments
Open

Architecture diagram for Cucumber JUnit Platform Engine #2897

mpkorstanje opened this issue Jun 29, 2024 · 0 comments
Labels
🏦 debt Tech debt

Comments

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Jun 29, 2024

🤔 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:

  • I'm using cucumber.features, why are my tests executed twice
  • The configuration from my suite is not included when using cucumber.features.
  • Why should cucumber.features not be used in combination with @Suite
  • Why is the Suite engine used as a workaround for Maven and Gradle

✨ 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

@mpkorstanje mpkorstanje added the 🏦 debt Tech debt label Jun 29, 2024
@mpkorstanje mpkorstanje changed the title Add architecture diagram for Cucumber JUnit Platform Engine Architecture diagram for Cucumber JUnit Platform Engine Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏦 debt Tech debt
Projects
None yet
Development

No branches or pull requests

1 participant