定制 testingbot/codeception-extension 二次开发

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

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

testingbot/codeception-extension

Composer 安装命令:

composer require testingbot/codeception-extension

包简介

Codeception extension to report meta-data back to TestingBot.

README 文档

README

This is a CodeCeption extension that will send test meta-data back to TestingBot. This way, you can see the test name, passed/failed state and more in the TestingBot dashboard overview.

Installation

  • Add the testingbot/codeception-extension composer package to the project's composer.json or run composer require testingbot/codeception-extension

  • Execute composer to update your environment.

  • Add the extension and your TestingBot credentials in the codeception.yml file:

actor: Tester
paths:
    tests: tests
    log: tests/_output
    data: tests/_data
    support: tests/_support
    envs: tests/_envs
settings:
    bootstrap: _bootstrap.php
    colors: true
    memory_limit: 1024M
extensions:
    enabled:
        - Codeception\Extension\RunFailed
        - Codeception\Extension\TestingBotExtension
    config:
        Codeception\Extension\TestingBotExtension:
            key: "KEY"
            secret: "SECRET"
  • Make sure your tests use the extension:
modules:
  enabled:
    - WebDriver
  config:
    WebDriver:
      host: 'hub.testingbot.com'
      port: 80
      browser: chrome
      url: 'http://www.google.com'
      capabilities:
        'client_key': 'YOUR TESTINGBOT KEY'
        'client_secret' : 'YOUR TESTINGBOT SECRET'
        'build': 'codeception-testingbot'

env:
  single:
    modules:
      config:
        WebDriver:
          capabilities:
            'name': 'single_test'

Refer to this documentation here for further explanation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2016-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固