-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[BUG] Mix of junit4 and junit5 in Java generator 7.5.0 #18465
Comments
thanks for reporting the issue. may i know if you've time to contribute a fix with a PR? |
Maybe... can't promise anything regarding the timeframe. |
So I just tested 7.6.0 which contained some of these fixes but I'm still getting test compilation errors like:
|
@bijancn may I know which generator/library did you test? |
@wing328 yes of course, we are using the docker image |
update: filed #18741 to fix the issue |
Description
While the model tests use JUnit 5 (
import org.junit.jupiter.api.Test
) the api tests still use JUnit 4 (import org.junit.Test
).openapi-generator version
7.5.0
OpenAPI declaration file content or url
Any OpenAPI.json should reproduce the problem.
Generation Details
Steps to reproduce
mvn clean test
Related issues/PRs
n/a
Suggest a fix
Fix the code that generates the API tests.
The text was updated successfully, but these errors were encountered: