Skip to content

Commit a7964e8

Browse files
authored
Grammar and formatting
1 parent 37d16cc commit a7964e8

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/commands/mftf.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,11 @@ The example parameters are taken from the `etc/config/.env.example` file.
431431
### `static-checks`
432432

433433
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.
438439

439440
#### Usage
440441

@@ -495,11 +496,11 @@ vendor/bin/mftf static-checks testDependencies actionGroupArguments
495496
#### Defining ruleset
496497

497498
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
500499

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
502502

503+
This file works as the default configuration to easily allow for the integration of `static-checks` in a CI environment.
503504
Currently, the ruleset only defines the tests to run. Here is an example of the expected format:
504505

505506
```json
@@ -509,10 +510,8 @@ Currently, the ruleset only defines the tests to run. Here is an example of the
509510
"anotherTest"
510511
]
511512
}
513+
```
512514

513-
```
514-
515-
516515
### `upgrade:tests`
517516

518517
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

Comments
 (0)