Skip to content

Commit 5dda7bc

Browse files
committed
Moved docs page for allure in tree
1 parent 98509c1 commit 5dda7bc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

configuration/tests-reporting.md renamed to configuration/reporting.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Tests Reporting
1+
# Allure Reporting
22

3-
## Allure
3+
[Allure](http://allure.qatools.ru/) is a powerful **test reporting framework**. It is fully compatible with [PHPUnit](https://phpunit.de/) and [Codeception](https://codeception.com/). This means that each type of test available in **Magento 2** can be visualized.
44

5-
[Allure](http://allure.qatools.ru/) is a powerful **test reporting framework**. It is fully compatible with [PHPUnit](https://phpunit.de/) and [Codeception](https://codeception.com/). This means that no all the types of tests available in **Magento 2** can be visualised.
6-
7-
### Configuration
5+
## Configuration
86

97
To enable Allure in your project environment, add to your `.env` file:
108

@@ -14,7 +12,7 @@ WARDEN_ALLURE=1
1412

1513
As a result both `php-fpm` and `php-debug` containers get additional mount `/var/allure-results` where the Test results should be saved.
1614

17-
#### PHPUnit Reports
15+
### PHPUnit Reports
1816

1917
To visualize your PHPUnit Tests results *(Unit, Integration, API functional, Static)* in Allure, you need to edit `phpunit.xml` file and find `<listeners>` section. If you have `<listener class="Yandex\Allure\Adapter\AllureAdapter">` node, just change the path where logs are saved: `<string>/var/allure-results</string>` (please notice leading `/`).
2018

@@ -27,7 +25,7 @@ To visualize your PHPUnit Tests results *(Unit, Integration, API functional, Sta
2725
...
2826
```
2927

30-
#### Codeception Reports
28+
### Codeception Reports
3129

3230
Adjusting Codeception reports path is a little bit more complicated. Please find the `dev/tests/acceptance/codeception.yml` file, under `Magento\FunctionalTestingFramework\Allure\Adapter\MagentoAllureAdapter` you'll find `outputDirectory`. Change it's value to `/var/allure-results`.
3331

@@ -39,7 +37,7 @@ extensions:
3937
outputDirectory: /var/allure-results
4038
```
4139
42-
### Web Interface
40+
## Web Interface
4341
4442
Allure reports are available with your Web Browser on `allure` subdomain (eg. `https://allure.magento2.test/`). Reports are generated with 5 seconds interval.
4543

0 commit comments

Comments
 (0)