From d62d4de24ecbd0dd8672be6b097bad88e6d43b41 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Mon, 17 Jan 2022 18:22:57 +0100 Subject: [PATCH] tests(cucumber): explain in the README how to run --- integration-tests/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/integration-tests/README.md b/integration-tests/README.md index 03585a9d8..750412e50 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -107,6 +107,20 @@ List of possible actions: Example: `Monetary mass should be 30.00 ÄžD` +### Run cucumber functionnal tests + +To run the cucumber tests, you will need to have the rust toolchain installed locally. + +To run all the scenarios (there are many) use the command: `cargo cucumber` + +You can filter the `.feature` files to run with the option `i`, for instante: + +``` +cargo cucumber -i monetary* +``` + +Will only run `.feature` files that start with `monetary`. + ### Contribute to the code that runs the tests Cucumber is not magic, we have to write code that interprets the Gherkin text and performs the right -- GitLab