diff --git a/integration-tests/README.md b/integration-tests/README.md index 707dfd8cb8072960aef1ea37ae099c261f7af18e..b16954b05a16769e48632297624790ed7cdbe7ee 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -27,7 +27,17 @@ folder and give it the extension `.feature`. Read in the sections below which users are available and which operations you can write. - [Cucumber Rust Book] +If you want to write things that are not yet interpreted, consider adding the `@allow.skipped` tag above your script: + +```gherkin +Feature: My awesome feature + + @allow.skipped + Scenario: If something like this happens, then we should observe that + Given Something + When Something's happening + Then We should observe that +``` ### Test users diff --git a/integration-tests/tests/cucumber_tests.rs b/integration-tests/tests/cucumber_tests.rs index d1ee4118e617acf95a071a3ae70cfa556af5b007..cd327e76ef2aef5ce0368143e2b70246ec32d77e 100644 --- a/integration-tests/tests/cucumber_tests.rs +++ b/integration-tests/tests/cucumber_tests.rs @@ -148,5 +148,8 @@ async fn current_ud_amount_should_be( async fn main() { //env_logger::init(); - DuniterWorld::run("features").await + DuniterWorld::cucumber() + .fail_on_skipped() + .max_concurrent_scenarios(4) + .run("features").await; }