You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a directory project-root/dev/tests/unit/phpunit.xml.dist and keep configurations in same.
The phpunit.xml.dist config could be something like below:
<extensions>
<bootstrap class="Qameta\Allure\PHPUnit\AllureExtension">
<!-- Path to config file (default is config/allure.config.php) -->
<parameter name="config" value="allure/allure.config.php" />
</bootstrap>
</extensions>
Directory structure is something like:
Expected behavior
It was supposed to work smoothly with all configurations getting used properly and allure reports to be generated.
Actual behavior
Getting error as described in description and no allure reports are getting generated. AllureExtension is not taking absolute path as it should be. This behaviour was working correctly with PHPUnit 9 config file.
The text was updated successfully, but these errors were encountered:
Describe the bug
If phpunit.xml.dist file is placed in a different path other than root. Then in CLI, if I am running below command from project root:
./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist
It is giving below error:
To Reproduce
Steps to reproduce the behavior:
Directory structure is something like:
Expected behavior
It was supposed to work smoothly with all configurations getting used properly and allure reports to be generated.
Actual behavior
Getting error as described in description and no allure reports are getting generated. AllureExtension is not taking absolute path as it should be. This behaviour was working correctly with PHPUnit 9 config file.
The text was updated successfully, but these errors were encountered: