From 869fe88bde22ffe8311f55f7a70f71a5fa023c6d Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Thu, 13 Jan 2022 11:36:04 +0100 Subject: [PATCH] tests: not fail on skipped --- integration-tests/README.md | 12 ++++++++++-- integration-tests/tests/cucumber_tests.rs | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/integration-tests/README.md b/integration-tests/README.md index 81f37678f..07d7d5493 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -27,14 +27,22 @@ folder and give it the extension `.feature`. Read in the sections below which users are available and which operations you can write. -If you want to write things that are not yet interpreted, consider adding the `@allow.skipped` tag above your script: +If you want to write things that are not yet interpreted, make sure you standardize as much as +possible the way you write actions and assertions, in order to facilitate their future technical +interpretation. + +Feel free to add comments to explain your scenario: ```gherkin Feature: My awesome feature - @allow.skipped Scenario: If something like this happens, then we should observe that Given Something + """ + This is a comment, you can write whatever you want here, this part of the text will not be + interpreted, but it allows you to explain your scenario so that the developers interpret + it correctly. + """ When Something's happening Then We should observe that ``` diff --git a/integration-tests/tests/cucumber_tests.rs b/integration-tests/tests/cucumber_tests.rs index daf6cd8a9..3fe4600d5 100644 --- a/integration-tests/tests/cucumber_tests.rs +++ b/integration-tests/tests/cucumber_tests.rs @@ -168,7 +168,7 @@ async fn main() { //env_logger::init(); DuniterWorld::cucumber() - .fail_on_skipped() + //.fail_on_skipped() .max_concurrent_scenarios(4) .run("features") .await; -- GitLab