Skip to content

Fix test runner : add JUnit Vintage Engine to run JUnit 4 tests on JUnit Platform - #23

Open
Darshan-dev57 wants to merge 2 commits into
javapathfinder:masterfrom
Darshan-dev57:fix/test-runner
Open

Fix test runner : add JUnit Vintage Engine to run JUnit 4 tests on JUnit Platform#23
Darshan-dev57 wants to merge 2 commits into
javapathfinder:masterfrom
Darshan-dev57:fix/test-runner

Conversation

@Darshan-dev57

Copy link
Copy Markdown

Tests use JUnit 4 annotations (org.junit.Test) but build.gradle only had JUnit 5 (Jupiter). Added junit-vintage-engine to run JUnit 4 tests on JUnit Platform.

Result: 35 tests now execute (33 pass, 2 pre-existing failures unrelated to test runner - Java 11 module access issues in converter code).

…it Platform

Tests use JUnit 4 annotations (org.junit.Test) but build.gradle only had
JUnit 5 (Jupiter). Added junit-vintage-engine to run JUnit 4 tests on
JUnit Platform.

Result: 35 tests now execute (33 pass, 2 pre-existing failures unrelated
to test runner - Java 11 module access issues in converter code).
@cyrille-artho

Copy link
Copy Markdown
Member

Thank you for your PR.
It looks like you repeat a configuration entry from the line above; can you please check and/or comment on that?

@cyrille-artho

Copy link
Copy Markdown
Member

One unit test fails; we will have to look into how exactly it fails and what the root cause is.

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