Skip to content

Upgrade surefire-junit47 to surefire-junit-platform and partially revert "Migrate most tests to JUnit 5 (#2931)" #2970

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
merged 12 commits into from
Jan 14, 2022

Conversation

Bennett-Lynch
Copy link
Contributor

@Bennett-Lynch Bennett-Lynch commented Jan 14, 2022

This partially reverts commit abe96fd (#2931). Only tests that use org.junit.Rule are reverted as they are not compatible with JUnit 5.

This also upgrades surefire-junit47 to surefire-junit-platform to be compatible with the junit-jupiter test platform.

License

  • I confirm that this pull request can be released under the Apache 2 license

…ert "Migrate most tests to JUnit 5 (aws#2931)"

This partially reverts commit abe96fd (aws#2931).
Only tests that use org.junit.Rule are reverted as they are not
compatible with JUnit 5.

This also upgrades surefire-junit47 to surefire-junit-platform to be
compatible with the junit-jupiter test platform.
@Bennett-Lynch Bennett-Lynch requested a review from a team as a code owner January 14, 2022 04:52
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@millems millems left a comment

Choose a reason for hiding this comment

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

Any way to verify that all tests are running now?

@Bennett-Lynch
Copy link
Contributor Author

Any way to verify that all tests are running now?

Manually verified locally that both JUnit4 and JUnit5 tests are being correctly run. Beyond that I'm not sure. Perhaps the SonarCloud coverage report.

@Bennett-Lynch Bennett-Lynch merged commit 45bcb33 into aws:master Jan 14, 2022
aws-sdk-java-automation added a commit that referenced this pull request Apr 11, 2024
…e2d0f9790

Pull request: release <- staging/6a35aa08-9adb-4060-981e-b02e2d0f9790
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