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

Refactor AbstractConformanceTest into a runner rather than a base class #117

Merged
merged 18 commits into from
Dec 7, 2023

Conversation

netdpb
Copy link
Collaborator

@netdpb netdpb commented Dec 6, 2023

This will decouple the conformance test framework from JUnit.

Fixes #111.

… and start depending on the conformance test artifact.
… and a regular jar containing compiled dependencies.
…it take a delegate rather than have subclasses. Change `checkConformance()` from a JUnit test to a method that takes the test directory, test deps, and test report file as arguments.

Change `ConformanceTest` to be that delegate, and to have two JUnit test methods: one for the normal conformance tests and one for the conformance tests running on the samples directory.
Change the build file to work with the new structure.
@netdpb netdpb requested a review from cpovirk December 6, 2023 21:40
@netdpb netdpb merged commit 935634c into jspecify:main Dec 7, 2023
2 checks passed
@netdpb netdpb deleted the act-refactor branch December 7, 2023 21:30
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.

Don't require JUnit for conformance tests
2 participants