-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add note about duplicate test execution with @Suite #5080
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
Merged
mpkorstanje
merged 19 commits into
main
from
rien/junit-platform-suite-engine-documentation
Oct 31, 2025
+127
−10
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
16ff13b
Add note duplicate test execution with @Suite
mpkorstanje c0a8776
Update pointers and commands in readme
mpkorstanje 8546b97
Extract and update note to independent section
mpkorstanje 6f2dacd
Update Suite annotation to match
mpkorstanje f74202e
Update Suite annotation to match
mpkorstanje 36365a3
Merge remote-tracking branch 'origin/main' into rien/junit-platform-s…
mpkorstanje 890a5b7
Update documentation/src/docs/asciidoc/user-guide/advanced-topics/jun…
mpkorstanje c3a88d0
Draft diagrams
mpkorstanje fcd8f7e
Rework, rewrite, revise
mpkorstanje 5e02295
Remove ellipsis, spell Jupiter correctly
mpkorstanje b822014
Rework, rewrite, revise
mpkorstanje 4df8e81
Rename diagrams to match header ids
mpkorstanje aa2d097
Update documentation/src/docs/asciidoc/user-guide/advanced-topics/jun…
mpkorstanje bef798d
Update documentation/src/docs/asciidoc/user-guide/advanced-topics/jun…
mpkorstanje ed4a741
Update documentation/src/plantuml/launcher-api-diagram.puml
mpkorstanje 05fb4fd
Update documentation/src/docs/asciidoc/user-guide/advanced-topics/lau…
mpkorstanje c132c99
Update documentation/src/docs/asciidoc/user-guide/advanced-topics/jun…
mpkorstanje 970d710
Update junit-platform-suite-api/src/main/java/org/junit/platform/suit…
mpkorstanje da41307
Merge paragraphs
mpkorstanje File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
documentation/src/plantuml/junit-platform-suite-engine-diagram.puml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| @startuml | ||
| object "IDEs" | ||
| object "Build Tools" | ||
| object "Console Launcher" | ||
|
|
||
| object "JUnit Platform" | ||
| object "Suite Test Engine" | ||
|
|
||
| object "@Suite annotated class A" | ||
| object "@Suite annotated class B" | ||
| object "JUnit Platform (A)" | ||
| object "JUnit Platform (B)" | ||
| object "Jupiter Test Engine (A)" | ||
| object "Jupiter Test Engine (B)" | ||
| object "Tests in package A" | ||
| object "Tests in package B" | ||
|
|
||
| "IDEs" --> "JUnit Platform" | ||
| "Build Tools" --> "JUnit Platform" | ||
| "Console Launcher" --> "JUnit Platform" : requests discovery and execution | ||
| "JUnit Platform" --> "Suite Test Engine": forwards request | ||
|
|
||
| "Suite Test Engine" --> "@Suite annotated class A" | ||
| "@Suite annotated class A" --> "JUnit Platform (A)" | ||
| "JUnit Platform (A)" --> "Jupiter Test Engine (A)" | ||
| "Jupiter Test Engine (A)" --> "Tests in package A" | ||
|
|
||
| "Suite Test Engine" --> "@Suite annotated class B" : discovers and executes | ||
| "@Suite annotated class B" --> "JUnit Platform (B)" : requests discovery and execution | ||
| "JUnit Platform (B)" --> "Jupiter Test Engine (B)" : forwards request | ||
| "Jupiter Test Engine (B)" --> "Tests in package B" : discovers and executes | ||
| @enduml |
30 changes: 30 additions & 0 deletions
30
documentation/src/plantuml/junit-platform-suite-engine-duplicate-test-execution-diagram.puml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| @startuml | ||
| object "IDEs" | ||
| object "Build Tools" | ||
| object "Console Launcher" | ||
| object "JUnit Platform" | ||
| together { | ||
| object "Suite Test Engine" | ||
| object "Jupiter Test Engine" | ||
| } | ||
| object "@Suite annotated class" | ||
| object "JUnit Platform (@Suite)" | ||
| object "Jupiter Test Engine (@Suite)" | ||
| together { | ||
| object "Example Test A" | ||
| object "Example Test A (@Suite)" | ||
| } | ||
|
|
||
| "IDEs" --> "JUnit Platform" | ||
| "Build Tools" --> "JUnit Platform" | ||
| "Console Launcher" --> "JUnit Platform" : requests discovery and execution | ||
|
|
||
| "JUnit Platform" --> "Suite Test Engine" | ||
| "Suite Test Engine" --> "@Suite annotated class" : discovers and executes | ||
| "@Suite annotated class" --> "JUnit Platform (@Suite)" : requests discovery and execution | ||
| "JUnit Platform (@Suite)" --> "Jupiter Test Engine (@Suite)" : forwards request | ||
| "Jupiter Test Engine (@Suite)" --> "Example Test A (@Suite)" : discovers and executes | ||
|
|
||
| "JUnit Platform" --> "Jupiter Test Engine": forwards request | ||
| "Jupiter Test Engine" --> "Example Test A" #line:red;line.bold;text:red : also discover and executes! | ||
| @enduml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| @startuml | ||
| object "IDEs" | ||
| object "Build Tools" | ||
| object "Console Launcher" | ||
| object "JUnit Platform" | ||
| object "Jupiter Test Engine" | ||
| object "Cucumber Test Engine" | ||
| object "Spock Test Engine" | ||
mpkorstanje marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| object "Test Classes" | ||
| object "Feature Files" | ||
| object "Specifications" | ||
|
|
||
| "IDEs" --> "JUnit Platform" | ||
| "Build Tools" --> "JUnit Platform" | ||
| "Console Launcher" --> "JUnit Platform" : requests discovery and execution | ||
| "JUnit Platform" --> "Jupiter Test Engine" | ||
| "Jupiter Test Engine" --> "Test Classes" | ||
|
|
||
| "JUnit Platform" --> "Cucumber Test Engine" | ||
| "Cucumber Test Engine" --> "Feature Files" | ||
|
|
||
| "JUnit Platform" --> "Spock Test Engine": forwards request | ||
| "Spock Test Engine" --> "Specifications" : discovers and executes | ||
| @enduml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.