You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently spend some thoughts and time on this topic.
I came up with a different solution for integration tests which is based on testcontainers, it works like this:
All integration-tests are part of the test-code base (Java)
An integration Test generates sources based on some test-data (e.g. petstore, ...) into a temporary directory
the temporary directory is mounted into the container as well as caches for dependencies (e.g. m2 cache)
within the container itself the generated code is compiled and tests are run
Benefits of this:
you can use a docker container of your choice for each language supported. the environment is isolated / separated from others
propper test-results can be written (junit)
run integration tests easily within your IDE without having to understand a complex workflow (git commit + push / samples dir / mvn profile / pom module wrapper around others languages / ....)
Description
Currently to me the testing approach seems a little bit weired:
bin
which use latest versionSwagger-codegen version
latest 3.0.0 branch
Swagger declaration file content or url
N/A
Command line used for generation
N/A
Steps to reproduce
;)
Related issues/PRs
e.g. this error would have been found before releasing: #9822
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: