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

Issue-829: Write Parallel JUnit 4 tests #857

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

l-1squared
Copy link
Collaborator

The package with the dodgy name is actually a recommendation from the JUnit 4 site itself, therefore
I opted to use it here.

Contrary to JUnit5 I opted against having a second method in the classes, because paralellization works on class level only anyway which means that the method just lost what little use they had.

Signed-off-by: l-1squared 30831153+l-1squared@users.noreply.github.com

The package with the dodgy name is actually a recommendation from the JUnit 4 site itself, therefore
I opted to use it here.

Contrary to JUnit5 I opted against having a second method in the classes, because paralellization works on class level only anyway which means that the method just lost what little use they had.

Signed-off-by: l-1squared <30831153+l-1squared@users.noreply.github.com>
@l-1squared l-1squared requested a review from fudler March 24, 2022 07:13
}

public JUnit4InheritedParallelizationTest(int i){
this.i = i;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this constructor ever needed explicitly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, because that's how JUnit4 Injects the values from the data provider

@l-1squared l-1squared merged commit edbed71 into master Mar 29, 2022
@l-1squared l-1squared deleted the feature/Issue-829-junit4-parallelization-tests branch March 29, 2022 09:53
@l-1squared l-1squared linked an issue Mar 31, 2022 that may be closed by this pull request
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.

JGiven parallelization issues
2 participants