You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These help set the `default` state of the Magento instance. If you wish to change the default state of the application (and have updated your tests sufficiently to account for it), this is the step in which you would do it.
41
+
These set the default state of the Magento instance. If you wish to change the default state of the application (and have updated your tests sufficiently to account for it), this is the step to do it.
42
42
43
43
If your magento instance has Two-Factor Authentication enabled, see [Configure 2FA][] to configure MFTF tests.
44
44
45
-
## Install allure
45
+
## Install Allure
46
46
47
-
This will be required to generate the report after your test runs. See [Allure][] for details.
47
+
This is required for generating the report after your test runs. See [Allure][] for details.
48
48
49
49
## Generate tests
50
50
@@ -56,7 +56,7 @@ Generate tests based on what you want to run:
56
56
vendor/bin/mftf generate:tests
57
57
```
58
58
59
-
This will generate all tests and a single manifest file under `dev/tests/acceptance/tests/functional/Magento/_generated/testManifest.txt`
59
+
This will generate all tests and a single manifest file under `dev/tests/acceptance/tests/functional/Magento/_generated/testManifest.txt`.
60
60
61
61
### Parallel execution
62
62
@@ -66,7 +66,7 @@ To generate all tests for use in parallel nodes:
66
66
vendor/bin/mftf generate:tests --config parallel
67
67
```
68
68
69
-
This will generate a folder under `dev/tests/acceptance/tests/functional/Magento/_generated/groups`. This folder contains several `group#.txt` files that can be used later with the `mftf run:manifest` command.
69
+
This generates a folder under `dev/tests/acceptance/tests/functional/Magento/_generated/groups`. This folder contains several `group#.txt` files that can be used later with the `mftf run:manifest` command.
70
70
71
71
## Delegate and run tests
72
72
@@ -84,25 +84,25 @@ You can optimize your pipeline by running tests in parallel across multiple node
84
84
85
85
Tests can be split up into roughly equal running groups using `--config parallel`.
86
86
87
-
You don't want perform installation on each node again and build it. So, to save time, stash pre-made artifacts from earlier steps and un-stash on the nodes.
87
+
You do not want to perform installations on each node again and build it. So, to save time, stash pre-made artifacts from earlier steps and un-stash on the nodes.
88
88
89
89
The groups can be then distributed on each of the nodes and run separately in an isolated environment.
90
90
91
-
- Stash artifacts from main node and un-stash on current node.
92
-
- Run `vendor/bin/mftf run:manifest <current_group.txt>` on current node.
93
-
- Gather artifacts from `dev/tests/acceptance/tests/_output` from current node to main node.
91
+
- Stash artifacts from main node and un-stash on current node.
92
+
- Run `vendor/bin/mftf run:manifest <current_group.txt>` on current node.
93
+
- Gather artifacts from `dev/tests/acceptance/tests/_output` from current node to main node.
94
94
95
95
### Rerun options
96
96
97
-
In either single or parallel execution, to re-run failed tests simply add the `run:failed` command after executing a manifest:
97
+
In either single or parallel execution, to re-run failed tests, simply add the `run:failed` command after executing a manifest:
98
98
99
99
```bash
100
100
vendor/bin/mftf run:failed
101
101
```
102
102
103
103
### Generate Allure report
104
104
105
-
In the main node, simply generate using your `<path_to_results>` into a desired output path
105
+
In the main node, generate reports using your `<path_to_results>` into a desired output path:
0 commit comments