CAMEL-16400: split unit and integration tests for camel-aws2-sqs#5304
CAMEL-16400: split unit and integration tests for camel-aws2-sqs#5304orpiske merged 1 commit intoapache:masterfrom
Conversation
|
@davsclaus @gnodet @oscerd FYI, this breaks the unit and integration tests in different phases in Maven. Wdyt? |
|
How does it work with Its a habit I use for rebuilding the code (not tests at all) |
With fastinstall profile, it skips all the tests. I think this is the current behavior, right? |
|
Yes thanks. This is really great. No verbose pom.xml, and we can easily test for users not with docker. I wonder if we can have the failsafe plugin in the components/pom.xml so you dont need it per component? |
Thanks
I think we can probably do that once we finish migrating all of them. IMHO, it would be safer to keep it as a plugin reference for now, and then cleanup after the migration is complete. |
|
Ok sounds good |
|
The cs error should be fixed. Just rebase and merge @orpiske |
3a14b66 to
68c9ed9
Compare
Run all tests:
mvn verify
Run unit tests:
mvn test
To skip all tests:
mvn -DskipTests=true
To skip integration tests (default from failsafe):
mvn -DskipITs=true verify
Unit tests only run in 23s
Integration + unit tests run in 2 min 12s