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

T: run tests with JUnit4 #10388

Merged
merged 1 commit into from Apr 25, 2023
Merged

T: run tests with JUnit4 #10388

merged 1 commit into from Apr 25, 2023

Conversation

vlad20012
Copy link
Member

@vlad20012 vlad20012 commented Apr 25, 2023

Since #10277 we run some tests (descendants of RsIntentionTestBase class) using JUnit4, but we still run most of the tests using JUnit3. I'd want to put all tests in line in order to avoid possible differences in the framework behavior and also to benefit from JUnit4 features like the @Ignore annotation.

JUnit4 basically implies using @Test annotations to mark a test function, but I managed to avoid it by using a custom test runner (I don't want to bring > 10000 changes in > 600 files right now).

If everything goes well, this PR won't affect anything (since you can write and run tests as usual).

changelog: migrate tests to JUnit4

@vlad20012 vlad20012 added the internal Pull requests about internal improvements/fixes that don't affect users directly label Apr 25, 2023
@vlad20012 vlad20012 self-assigned this Apr 25, 2023
@vlad20012
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 25, 2023

Build succeeded:

@bors bors bot merged commit 71d2ce5 into master Apr 25, 2023
44 checks passed
@bors bors bot deleted the JUnit4 branch April 25, 2023 22:12
@github-actions github-actions bot added this to the v194 milestone Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Pull requests about internal improvements/fixes that don't affect users directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant