osi-open-source / reporting-portal-agent-codeception
Specific classes to integrate Codeception-based test framework with Report Portal (http://reportportal.io/).
Installs: 8 401
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 2
Open Issues: 3
Requires
- codeception/codeception: *
- reportportal/basic: 1.0.x-dev
README
Specific class to integrate Codeception-based test framework with Report Portal (http://reportportal.io/).
Install:
- Using composer
- Update your project's composer.json file with next data:
"require": { "osi-open-source/reporting-portal-agent-codeception": "*" },
Execute command:composer update
- Or execute command:
composer require osi-open-source/reporting-portal-agent-codeception
- Update your project's composer.json file with next data:
- Update codeception.yml file of your test framework according to codeception.yml file in this repository.
extensions: enabled: - ... - ReportingPortalAgent: UUID: 07104d6b-45a0-442f-b7ed-a79fa5321123 host: https://report-portal.example.com projectName: your_name_personal timeZone: .000+00:00 launchName: testLaunchName!!! tags: tag1value,tag2value launchDescription: test launch description !!!
The description and tags string can be templated from the environment variables using the {<VAR_NAME>}
syntax. For example if before a test run the env var SUITE
is set to for example my service
then the description "Launch {SUITE}" will be templated into "Launch my service".
Tags string must be coma separated string without spaces.
- Run codeception tests as usual:
vendor/bin/codecept run