Skip to content

Commit 51fc64f

Browse files
committed
MQE-1582: Enable Testers To Run Skipped Tests
- Added documentation for new argument
1 parent 60fc571 commit 51fc64f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/commands/mftf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ vendor/bin/mftf generate:tests [option] [<test name>] [<test name>] [--remove]
122122
| `--force` | Forces test generation, regardless of the module merge order defined in the Magento instance. Example: `generate:tests --force`. |
123123
| `-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`|
124124
| `--tests` | Defines the test configuration as a JSON string.|
125+
| `--allow-skipped` | Allows MFTF to generate and run tests marked with `<skip>.`|
125126
| `--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>|
126127
| `-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.|
127128

etc/config/.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ MODULE_WHITELIST=Magento_Framework,Magento_ConfigurableProductWishlist,Magento_C
4949
#*** Bool property which allows the user to toggle debug output during test execution
5050
#MFTF_DEBUG=
5151

52+
#*** Bool property which allows the user to generate and run tests marked as skipped
53+
#ALLOW_SKIPPED=true
54+
5255
#*** Default timeout for wait actions
5356
#WAIT_TIMEOUT=10
5457
#*** End of .env ***#

0 commit comments

Comments
 (0)