定制 skyeng/codeception-qase-integation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

skyeng/codeception-qase-integation

最新稳定版本:1.0.0

Composer 安装命令:

composer require skyeng/codeception-qase-integation

包简介

codeception extension for QASE.io

README 文档

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

统计信息

  • 总下载量: 747
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-31