@@ -431,10 +431,11 @@ The example parameters are taken from the `etc/config/.env.example` file.
431
431
### ` static-checks `
432
432
433
433
Runs all or specific MFTF static-checks on the test codebase that MFTF is currently attached to.
434
- Behavior for determining what tests to runs is as follows:
435
- * If test names are specified, runs only those tests
436
- * If no test names are specified, run tests according to ` staticRuleset.json `
437
- * If no ` staticRuleset.json ` is found, run all tests.
434
+ Behavior for determining what tests to run is as follows:
435
+
436
+ * If test names are specified, only those tests are run.
437
+ * If no test names are specified, tests are run according to ` staticRuleset.json ` .
438
+ * If no ` staticRuleset.json ` is found, all tests are run.
438
439
439
440
#### Usage
440
441
@@ -495,11 +496,11 @@ vendor/bin/mftf static-checks testDependencies actionGroupArguments
495
496
#### Defining ruleset
496
497
497
498
The ` static-checks ` command will look for a ` staticRuleset.json ` file under either:
498
- * ` dev/tests/acceptance/staticRuleset.json ` if embedded with Magento2
499
- * ` dev/staticRuleset.json ` if standalone
500
499
501
- This file works as a default configuration to easily allow for integration of ` static-checks ` in a CI environment.
500
+ * ` dev/tests/acceptance/staticRuleset.json ` , if embedded with Magento2
501
+ * ` dev/staticRuleset.json ` , if standalone
502
502
503
+ This file works as the default configuration to easily allow for the integration of ` static-checks ` in a CI environment.
503
504
Currently, the ruleset only defines the tests to run. Here is an example of the expected format:
504
505
505
506
``` json
@@ -509,10 +510,8 @@ Currently, the ruleset only defines the tests to run. Here is an example of the
509
510
" anotherTest"
510
511
]
511
512
}
513
+ ```
512
514
513
- ```
514
-
515
-
516
515
### ` upgrade:tests `
517
516
518
517
When the path argument is specified, this ` upgrade ` command applies all the major version MFTF upgrade scripts to a ` Test Module ` in the given path.
0 commit comments