Skip to content

Commit 76ecba3

Browse files
authored
formatting
1 parent 7d37bb4 commit 76ecba3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/suite.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Suites
22

33
Suites are essentially groups of tests that run in specific conditions (preconditions and postconditions).
4-
They enable including, excluding, and grouping tests for a customized test run when you need it.
4+
They enable including, excluding, and grouping tests for a customized test run.
55
You can form suites using separate tests, groups, and modules.
66

77
Each suite must be defined in the `<magento 2 root>/dev/tests/acceptance/tests/_suite/suite.xml` file.
@@ -18,7 +18,6 @@ The format of a suite:
1818

1919
```xml
2020
<?xml version="1.0" encoding="UTF-8"?>
21-
2221
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Suite/etc/suiteSchema.xsd">
2322
<suite name="">
2423
<before>
@@ -42,12 +41,14 @@ The format of a suite:
4241
## Principles
4342

4443
- A suite name:
44+
4545
- must not match any existing group value.
4646
For example, the suite `<suite name="ExampleTest">` will fail during test run if any test contains in annotations `<group value="ExampleTest">`.
4747
- must not be `default` or `skip`. Tests that are not in any suite are generated under the `default` suite.
48-
The suite name `skip` is synonymous to including a test in the `<group value="skip"/>`, which will be deprecated in MFTF 3.0.0.
48+
The suite name `skip` is synonymous to including a test in the `<group value="skip"/>`, which will be deprecated in MFTF 3.0.0.
4949
- can contain letters, numbers, and underscores.
5050
- should be upper camel case.
51+
5152
- A suite must contain at least one `<include>`, or one `<exclude>`, or both.
5253
- Using `<before>` in a suite, you must add the corresponding `<after>` to restore the initial state of your testing instance.
5354

0 commit comments

Comments
 (0)