File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -463,18 +463,39 @@ The example parameters are taken from the `etc/config/.env.example` file.
463
463
464
464
### ` static-checks `
465
465
466
- Runs all MFTF static-checks on the test codebase that MFTF is currently attached to.
466
+ Runs all or specific MFTF static-checks on the test codebase that MFTF is currently attached to.
467
+ If no script name argument is specified, all existing static check scripts will run.
467
468
468
- #### Existing static checks
469
+ #### Usage
469
470
470
- * Test Dependency: Checks that test dependencies do not violate Magento module's composer dependencies.
471
+ ``` bash
472
+ vendor/bin/mftf static-checks [< names> ]...
473
+ ```
471
474
472
- #### Usage
475
+ #### Examples
476
+
477
+ To check what existing static check scripts are available
478
+
479
+ ``` bash
480
+ vendor/bin/mftf static-checks --help
481
+ ```
482
+
483
+ To run all existing static check scripts
473
484
474
485
``` bash
475
486
vendor/bin/mftf static-checks
476
487
```
477
488
489
+ To run specific static check scripts
490
+
491
+ ``` bash
492
+ vendor/bin/mftf static-checks testDependencies
493
+ ```
494
+
495
+ #### Existing static checks
496
+
497
+ * Test Dependency: Checks that test dependencies do not violate Magento module's composer dependencies.
498
+
478
499
### ` upgrade:tests `
479
500
480
501
Applies all the MFTF major version upgrade scripts to test components in the given path (` test.xml ` , ` data.xml ` , etc).
You can’t perform that action at this time.
0 commit comments