How to handle breaking upgrades while trusting tests #54751
rgcosma
started this conversation in
Design Discussions
Replies: 1 comment 5 replies
|
Can't you already do that? You can set up a multi-module project where the app is packaged in one module, and an IT module starts the app (from its package, not by depending on the artifact) and runs blackbox tests? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
A Quarkus app consists at a very basic level of src/main and src/test, and there are many convenience libraries like jupiter to help write good unit tests. All good, but this means the tests are run by the same JDK / Maven and read the same pom.xml as the app code. In the event of an upgrade that requires a change in the tests too (example: Wiremock automatically ungzips in version 3), what steps could one take to make sure tests can still be trusted? Consider tests run from outside the app (curl/postman) for comparison.
All reactions