lastcall / relay-agent-phpunit
Basic classes for Report Portal collaboration with PHPUnit
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
pkg:composer/lastcall/relay-agent-phpunit
Requires
- phpunit/phpunit: ^9.5
- reportportal/basic: 1.0.x-dev
This package is auto-updated.
Last update: 2025-10-22 20:07:47 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/lastcall/relay-agent-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