Skip to content

Commit 03bbdb2

Browse files
committed
Merge branch 'pr629' into lbajsarowicz-doc-rollup
2 parents d654bcb + ab4dfb4 commit 03bbdb2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
124 KB
Loading

docs/merging.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ For example:
2727
Although a file name does not influence merging, we recommend using the same file names in merging updates.
2828
This makes it easier to search later on.
2929

30+
## Merging precedence
31+
32+
**Magento Functional Testing Framework** uses Module's `<sequence>` to merge all XML configurations into Codeception instructions. If there's no Sequence specified, MFTF would use:
33+
34+
1. Vendor modules (Magento & Vendors) located in `vendor/`
35+
1. Tests located in `app/code/*/*/Test/Mftf`
36+
37+
![Usual precedence for merging MFTF Tests and resources][mftfExtendingPrecedence image]
38+
3039
## Add a test
3140

3241
You cannot add another [`<test>`][tests] using merging functionality.
@@ -570,3 +579,4 @@ The `_defaultSample` results corresponds to:
570579
[`<sections>`]: ./section.md
571580
[`<tests>`]: ./test.md
572581
[`<action groups>`]: ./test/action-groups.md
582+
[mftfExtendingPrecedence image]: img/mftf-extending-precedence.png

0 commit comments

Comments
 (0)