Skip to content

skyeng/codeception-qase-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Codeception QASE Integration

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(...)
 {
     ...
 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages