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
fe744c51
"pallets/git@git.duniter.org:nodes/rust/duniter-v2s.git" did not exist on "c04ca2f3e22355ffa6a3c8f458a0a5c03911ee94"
Commit
fe744c51
authored
2 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
doc: update cucumber tests doc
parent
703e8e3e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
end2end-tests/README.md
+6
-6
6 additions, 6 deletions
end2end-tests/README.md
with
6 additions
and
6 deletions
end2end-tests/README.md
+
6
−
6
View file @
fe744c51
...
...
@@ -22,13 +22,13 @@ Feature: Balance transfer
### create a new functional test
To create a new test scenario, simply create a new file with a name of your choice in the
`/features`
folder and give it the extension
`.feature`
.
To create a new test scenario, simply create a new file with a name of your choice in the
`/cucumber-features`
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, make sure you standardize as much as
possible the way you write actions and assertions,
in order to facilitate their future technical
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:
...
...
@@ -119,7 +119,7 @@ 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`
.
Will only run
`.feature`
files that start with
`
"
monetary
"
`
.
### Contribute to the code that runs the tests
...
...
@@ -127,12 +127,12 @@ Cucumber is not magic, we have to write code that interprets the Gherkin text an
actions accordingly.
The rust code that interprets the Gherkin text is in this file:
`
integration
-tests/tests/cucumber_tests.rs`
.
`
end2end
-tests/tests/cucumber_tests.rs`
.
To contribute to this section, read the [Cucumber Rust Book].
To interact with the node, we use exclusively RPC requests, the RPC requests are realized in
functions defined in
`
integration
-tests/tests/common`
.
functions defined in
`
end2end
-tests/tests/common`
.
To realize the RPC requests, we use the rust crate
[
subxt
](
https://github.com/paritytech/subxt
)
.
...
...
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