-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use pure Citrus instead of YAKS
- Loading branch information
1 parent
eec5bf8
commit dc3cbf4
Showing
159 changed files
with
3,287 additions
and
3,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,5 +32,6 @@ terraform.* | |
.terraform* | ||
.camel-jbang* | ||
.yaks-jbang* | ||
.citrus-jbang* | ||
|
||
_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# Kamelets YAKS Tests | ||
# Kamelets Citrus Tests | ||
|
||
This folder contains a suite of integration tests for Kamelets | ||
|
||
You need the following tools to run the tests: | ||
- Java 17 | ||
- [JBang](https://www.jbang.dev/) | ||
- [Camel JBang](https://camel.apache.org/manual/camel-jbang.html) | ||
- [YAKS](https://github.com/citrusframework/yaks) | ||
- [Citrus JBang App](https://citrusframework.org/citrus/reference/html/index.html#runtime-jbang-install) | ||
|
||
Once everything is set you just need to run | ||
|
||
```console | ||
mvn verify -Denable.yaks.tests | ||
mvn verify -Denable.integration.tests | ||
``` | ||
|
||
This runs all available YAKS tests that are not marked as `@ignored`. | ||
This runs all available Citrus tests. | ||
|
||
You can run individual tests when specifying its folder or feature file name. | ||
You can run individual tests when specifying its folder name on the class `KameletsIT` (e.g. `aws`). | ||
|
||
```console | ||
mvn verify -Dcucumber.feature=aws/s3/aws-s3-to-http.feature -Denable.yaks.tests | ||
mvn verify -Dtest=KameletsIT#aws | ||
``` | ||
|
||
You can run the tests also from your favorite Java IDE. | ||
By default, the YAKS tests use local runtime where Camel integrations, Kamelets, bindings and pipes are run with Camel JBang. | ||
By default, the Citrus tests use local runtime where Camel integrations, Kamelets, bindings and pipes are run with Camel JBang. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.