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
We welcome contributions to the MFTF documentation, which is kept within the `docs/` folder in this repository.
4
+
This page describes the submitting process and serves as a template for a properly written content.
5
+
The contribution workflow is the same as submitting code.
6
+
7
+
1. Create a branch from the `develop` branch in the [MFTF repository][].
8
+
1. Make edits/additions/deletions as needed. Read the [Basic Template][] for tips on how to write with Markdown.
9
+
1. Submit your pull request to the `develop` branch.
10
+
11
+
Once submitted, a member of the documentation team will review and merge it.
12
+
We will inform you if it needs any additional processing.
13
+
14
+
The documentation in this repository is used as the source for the [MFTF documentation][].
15
+
Any changes to the table of contents will need to be made through a separate pull request in the regular [Magento Developer documentation repository][].
16
+
17
+
Read more about how to [Contribute to Magento Devdocs][].
18
+
19
+
<!-- For readability, we abstract the link URLS to the bottom of the page. The extra set of square brackets denotes it is a link, rather than plain brackets. >
|`--force`| Forces test generation, regardless of the module merge order defined in the Magento instance. Example: `generate:tests --force`. |
123
123
|`-i,--time`| Set time in minutes to determine the group size when `--config=parallel` is used. The __default value__ is `10`. Example: `generate:tests --config=parallel --time=15`|
124
124
|`--tests`| Defines the test configuration as a JSON string.|
125
-
|`--debug`| Returns additional debug information (such as the filename where an error occurred) when test generation fails because of an invalid XML schema. This parameter takes extra processing time. Use it after test generation has failed once.|
125
+
|`--debug or --debug=[<none>]`| Performs schema validations on XML files. <br/> DEFAULT: `generate:tests` implicitly performs schema validation on merged files. It does not indicate the file name where the error is encountered. <br/> DEVELOPER: `--debug` performs per-file validation and returns additional debug information (such as the filename where an error occurred) when test generation fails because of an invalid XML schema. This option takes extra processing time. Use it after test generation has failed once.</br><br/> NONE: `--debug=none` skips debugging during test generation. Added for backward compatibility, it will be removed in the next MAJOR release.</br>|
126
126
|`-r,--remove`| Removes the existing generated suites and tests cleaning up the `_generated` directory before the actual run. For example, `generate:tests SampleTest --remove` cleans up the entire `_generated` directory and generates `SampleTest` only.|
|`-k, --skip-generate`| Skips generating from the source XML. Instead, the command executes previously-generated groups of tests. |
297
297
|`-r, --remove`| Removes previously generated suites and tests before the actual generation and run. |
298
+
|`--debug or --debug=[<none>]`| Performs schema validations on XML files. `run:group` implicitly performs schema validation on merged files. It does not indicate the file name where the error is encountered. `--debug` performs per-file validation and returns additional debug information (such as the filename where an error occurred). `--debug=none` skips debugging during test run. Added for backward compatibility, it will be removed in the next MAJOR release.|
|`-k, --skip-generate`| Skips generating from the source XML. Instead, the command executes previously-generated groups of tests. |
328
329
|`-r, --remove`| Remove previously generated suites and tests. |
330
+
| `--debug or --debug=[<none>]`| Performs schema validations on XML files. `run:test` implicitly performs schema validation on merged files. It does not indicate the file name where the error is encountered. `--debug` performs per-file validation and returns additional debug information (such as the filename where an error occurred). `--debug=none` skips debugging during test run. Added for backward compatibility, it will be removed in the next MAJOR release.
329
331
330
332
#### Examples
331
333
@@ -347,6 +349,11 @@ For more details about `failed`, refer to [Reporting][].
|`--debug or --debug=[<none>]`| Performs schema validations on XML files. `run:failed` implicitly performs schema validation on merged files. It does not indicate the file name where the error is encountered. `--debug` performs per-file validation and returns additional debug information (such as the filename where an error occurred). Use it after test run has failed once. `--debug=none` skips debugging during test run. Added for backward compatibility, it will be removed in the next MAJOR release.|
0 commit comments