Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
869fe88b
Commit
869fe88b
authored
3 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
tests: not fail on skipped
parent
17afaca7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
integration-tests/README.md
+10
-2
10 additions, 2 deletions
integration-tests/README.md
integration-tests/tests/cucumber_tests.rs
+1
-1
1 addition, 1 deletion
integration-tests/tests/cucumber_tests.rs
with
11 additions
and
3 deletions
integration-tests/README.md
+
10
−
2
View file @
869fe88b
...
...
@@ -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
```
...
...
This diff is collapsed.
Click to expand it.
integration-tests/tests/cucumber_tests.rs
+
1
−
1
View file @
869fe88b
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment