skyeng / codeception-qase-integation
codeception extension for QASE.io
1.0.0
2022-01-28 11:32 UTC
Requires
- php: ^7.4 || ^8.0
- codeception/codeception: ^2.0 || ^3.0 || ^4.0
- guzzlehttp/guzzle: ^6.0 || ^7.0
This package is auto-updated.
Last update: 2024-11-29 06:35:58 UTC
README
This Codeception extension provides functionality for tests to report results to QASE using the HTTP API.
Note: The extension currently only supports the Cest
Codeception test format. It cannot report PHPUnit or Cept
tests.
Installation
composer require --dev skyeng/codeception-qase-integation:^1.0.0
Configuration:
Please configure your extension with parameters like enabled
, token
, and more. These can vary from environment to environment.
extensions: enabled: - Skyeng\Codeception\Qase\QaseExtension config: Skyeng\Codeception\Qase\QaseExtension: enabled: "%QASE_ENABLE%" token: "%QASE_TOKEN%" project: "%QASE_PROJECT%"
Tests
All you need to do is to define what Codeception test equals what QASE test. Do this, by simply appending a new annotation to your tests. The extension will now automatically look for this annotation, and send the test result of this ID to the Test Run.
/** * @qase-case 42 */ public function testMyProcess(...) { ... }