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

test: Migrate LogTest to JUnit5 #3939

Merged
merged 1 commit into from
May 24, 2021

Conversation

slarse
Copy link
Collaborator

@slarse slarse commented May 21, 2021

#3919

The LogTest has long been a pet-peeve of mine, because it always fails when I run all tests in IntelliJ IDEA. Running it alone is fine, and running it with Maven is also fine. I think it's something with the JUnit4 parameterized test runner (which never made it past the experimental stage) that doesn't work well with my particular version of IDEA.

This PR migrates LogTest to JUnit5 and its much better parameterized test support. And finally I can run all tests and not have this one fail.

Ignore whitespace changes in diff: This PR has a lot of indentation changes. To view the diff without whitespace changes, append ?w=1 to the GitHub URL (or click this link: https://github.com/INRIA/spoon/pull/3939/files?w=1)

@slarse slarse changed the title wip: test: Migrate LogTest to JUnit5 review: test: Migrate LogTest to JUnit5 May 21, 2021
@monperrus
Copy link
Collaborator

LGTM, will merge!

@monperrus monperrus changed the title review: test: Migrate LogTest to JUnit5 test: Migrate LogTest to JUnit5 May 24, 2021
@monperrus monperrus merged commit f445c99 into INRIA:master May 24, 2021
@slarse slarse deleted the issue/3919-migrate-LogTest-to-junit5 branch May 28, 2021 10:06
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
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
  NODES
COMMUNITY 2
Idea 2
idea 2
Project 3
USERS 1