Skip to content

Commit ed9c793

Browse files
committed
MAGETWO-96819: Integration of Allure reports to Static Tests - Code Style
1 parent 678181d commit ed9c793

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

dev/tests/static/phpunit-all.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@
2323
<!-- TESTCODESTYLE_IS_FULL_SCAN - specify if full scan should be performed for test code style test -->
2424
<const name="TESTCODESTYLE_IS_FULL_SCAN" value="0"/>
2525
</php>
26+
<listeners>
27+
<listener class="Yandex\Allure\Adapter\AllureAdapter" file="../../../vendor/allure-framework/allure-phpunit/src/Yandex/Allure/Adapter/AllureAdapter.php">
28+
<arguments>
29+
<string>var/allure-results</string> <!-- XML files output directory -->
30+
<boolean>true</boolean> <!-- Whether to delete previous results on rerun -->
31+
</arguments>
32+
</listener>
33+
</listeners>
2634
</phpunit>

dev/tests/static/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@
3535
<!-- TESTS_COMPOSER_PATH - specify the path to composer binary, if a relative reference cannot be resolved -->
3636
<!--<const name="TESTS_COMPOSER_PATH" value="/usr/local/bin/composer"/>-->
3737
</php>
38+
<listeners>
39+
<listener class="Yandex\Allure\Adapter\AllureAdapter" file="../../../vendor/allure-framework/allure-phpunit/src/Yandex/Allure/Adapter/AllureAdapter.php">
40+
<arguments>
41+
<string>var/allure-results</string> <!-- XML files output directory -->
42+
<boolean>true</boolean> <!-- Whether to delete previous results on rerun -->
43+
</arguments>
44+
</listener>
45+
</listeners>
3846
</phpunit>

0 commit comments

Comments
 (0)