Skip to content

MQE-2110: MFTF command to pause test execution #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/commands/mftf.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,16 +585,28 @@ vendor/bin/mftf codecept:run [<suite|test>] --[<option(s)>]
```bash
# Run all tests in functional suite
vendor/bin/mftf codecept:run functional
```

```bash
# Run all tests in functional suite with options
vendor/bin/mftf codecept:run functional --verbose --steps --debug
```

```bash
# Run one test
vendor/bin/mftf codecept:run functional Magento/_generated/default/AdminCreateCmsPageTestCest.php --debug
```

```bash
# Run all tests in default group
vendor/bin/mftf codecept:run functional --verbose --steps -g default
```

<div class="bs-callout-warning">
Note: You may want to limit the usage of this Codeception command with arguments and options for `acceptance` only, since it is what is supported by MFTF. You should also change `acceptance` to `functional` when using this command when referring to Codeception documentation.
<p>
Note: You may want to limit the usage of this Codeception command with arguments and options for "acceptance" only, since it is what's supported by MFTF.
When using this command, you should change "acceptance" to "functional" when referring to Codeception documentation.
</p>
</div>

<!-- LINK DEFINITIONS -->
Expand Down
8 changes: 5 additions & 3 deletions docs/interactive-pause.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ vendor/bin/mftf codecept:run --debug
```

<div class="bs-callout-warning">
Note: MFTF run command's `--debug` option is different from Codeception `--debug` mode option.
<p>
Note: MFTF command "--debug" option has different meaning than Codeception command "--debug" mode option.
</p>
</div>

## References
<!-- Link definitions -->

[pause on codeception.com](https://codeception.com/docs/02-GettingStarted#Interactive-Pause)
[pause on codeception.com]: https://codeception.com/docs/02-GettingStarted#Interactive-Pause