Skip to content

Commit 48a4a56

Browse files
committed
MQE-810: Create a static test to validate references between modules
- Added documentation for static-checks command.
1 parent 4317cc7 commit 48a4a56

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/commands/mftf.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,19 @@ To upgrade all test components inside the `Catalog` module:
416416
vendor/bin/mftf upgrade:tests /Users/user/magento2/app/code/Magento/Catalog/Test/Mftf/
417417
```
418418

419+
### `static-checks`
420+
421+
Runs all MFTF static-checks on the test codebase that MFTF is currently attached to.
422+
423+
Existing static-checks
424+
* Test Dependency: Checks that test dependencies do not violate the according Magento Module's composer dependencies
425+
426+
#### Usage
427+
428+
```bash
429+
vendor/bin/mftf static:checks
430+
```
431+
419432
<!-- LINK DEFINITIONS -->
420433

421434
[configuration]: ../configuration.md

0 commit comments

Comments
 (0)