Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove blanket outputDirectoryCreator from SuiteEngineTests#5793

Merged
mpkorstanje merged 1 commit into
mainjunit-team/junit-framework:mainfrom
rien/narrow-single-test-test-casejunit-team/junit-framework:rien/narrow-single-test-test-caseCopy head branch name to clipboard
Jun 23, 2026
Merged

Remove blanket outputDirectoryCreator from SuiteEngineTests#5793
mpkorstanje merged 1 commit into
mainjunit-team/junit-framework:mainfrom
rien/narrow-single-test-test-casejunit-team/junit-framework:rien/narrow-single-test-test-caseCopy head branch name to clipboard

Conversation

@mpkorstanje

@mpkorstanje mpkorstanje commented Jun 23, 2026

Copy link
Copy Markdown
Member

The output directory is only needed for the passesOutputDirectoryCreatorToEnginesInSuite test, but because that test uses the SelectClassesSuite every other test also needed to set the output directory. This makes the tests larger than strictly necessary.

By removing the TestReporter from the SingleTestTestCase and adding a dedicated SingleTestWithTestReporterTestCase we can make all the suite tests a bit more focused.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@mpkorstanje
mpkorstanje force-pushed the rien/narrow-single-test-test-case branch from 870a84c to 0d0b617 Compare June 23, 2026 13:57
The output directory is only needed for the
`passesOutputDirectoryCreatorToEnginesInSuite`, but because that test
uses the `SelectClassesSuite` every other test also needed to set the
output directory. This makes the tests larger than strictly necessary.

By removing the `TestReporter` from the `SingleTestTestCase` and adding
a dedicated  `SingleTestWithTestReporterTestCase` we can make all the
suite tests a bit more focused.
@mpkorstanje
mpkorstanje force-pushed the rien/narrow-single-test-test-case branch from 0d0b617 to 44a5144 Compare June 23, 2026 14:04
@testlens-app

testlens-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 44a5144
▶️ Tests: 10522 executed
⚪️ Checks: 18/18 completed


Learn more about TestLens at testlens.app.

@mpkorstanje
mpkorstanje merged commit 0b3a03f into main Jun 23, 2026
21 of 22 checks passed
@mpkorstanje
mpkorstanje deleted the rien/narrow-single-test-test-case branch June 23, 2026 14:52

@marcphilipp marcphilipp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

marcphilipp pushed a commit that referenced this pull request Jul 12, 2026
The output directory is only needed for the
`passesOutputDirectoryCreatorToEnginesInSuite`, but because that test
uses the `SelectClassesSuite` every other test also needed to set the
output directory. This makes the tests larger than strictly necessary.

By removing the `TestReporter` from the `SingleTestTestCase` and adding
a dedicated  `SingleTestWithTestReporterTestCase` we can make all the
suite tests a bit more focused.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.