codeception/testrail

此包最新版本(v4.0.0)没有可用的许可信息。

TestRail集成扩展

v4.0.0 2020-02-20 11:56 UTC

README

此扩展允许您将测试与TestRail集成。首次运行将创建测试套件和测试案例。

功能

  • 自动创建测试套件和测试案例
  • 跟踪所有给定版本的运行

配置

extensions:
    enabled:
        - Codeception\TestRail\TestRailIntegrationExtension
    config:
        Codeception\TestRail\TestRailIntegrationExtension:
            version: "%VERSION%"
            url: "https://trail.example.com/index.php?"
            username: "autotest@example.com"
            password: "password"
            projectId: "1"

运行

> VERSION=1.2 codecept run api -d 
Codeception PHP Testing Framework v2.5.4
Powered by PHPUnit 6.5.12 by Sebastian Bergmann and contributors.
Running with seed:


  TestRails integration is enabled. Version: 1.2
...
Time: 4.4 seconds, Memory: 20.25MB

OK (3 tests, 11 assertions)