reportportal / phpunit
Basic classes for Report Portal collaboration with PHPUnit
dev-master
2018-08-17 11:42 UTC
Requires
- phpunit/phpunit: 7.3.0
- reportportal/basic: 1.0.x-dev
This package is auto-updated.
Last update: 2024-11-07 21:35:19 UTC
README
PHPUnit agent for EPAM Report Portal
How to use.
Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework
Steps:
1) Add dependency to your composer.json file.
"minimum-stability": "dev",
"require-dev": {
"reportportal/phpunit" : "*"
},
Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework/blob/master/composer.json
2) Update phpunit.xml file with listener configuration.
<listeners>
<listener class="agentPHPUnit" file="vendor/reportportal/phpunit/src/agentPHPUnit.php">
<arguments>
<string>25667b03-8760-469f-ad41-fc0b9c4b67fa</string>
<string>https://rp.epam.com</string>
<string>mikalai_kabzar_personal</string>
<string>.000+00:00</string>
<string>test launch name !!!</string>
<string>test launch description !!!</string>
</arguments>
</listener>
</listeners>
agentPHPUnit listener's variables description.
- 1 - UUID.
- 2 - Report Portal server URL.
- 3 - Project name.
- 4 - Time Zone.
- 5 - Test Launch name.
- 6 - Test launch description.
Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework/blob/master/phpunit.xml