reportportal/phpunit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

reportportal/phpunit

Composer 安装命令:

composer require reportportal/phpunit

包简介

Basic classes for Report Portal collaboration with PHPUnit

README 文档

README

PHPUnit agent for EPAM Report Portal

How to use.

Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework

Steps:

1) Add dependency to your composer.json file.

  "minimum-stability": "dev",
  "require-dev": {
    "reportportal/phpunit" : "*"
  },

Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework/blob/master/composer.json

2) Update phpunit.xml file with listener configuration.

    <listeners>
        <listener class="agentPHPUnit" file="vendor/reportportal/phpunit/src/agentPHPUnit.php">
            <arguments>
                <string>25667b03-8760-469f-ad41-fc0b9c4b67fa</string>
                <string>https://rp.epam.com</string>
                <string>mikalai_kabzar_personal</string>
                <string>.000+00:00</string>
                <string>test launch name !!!</string>
                <string>test launch description !!!</string>
            </arguments>
        </listener>
    </listeners> 

agentPHPUnit listener's variables description.

- 1 - UUID.
- 2 - Report Portal server URL.
- 3 - Project name.
- 4 - Time Zone.
- 5 - Test Launch name.
- 6 - Test launch description.

Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework/blob/master/phpunit.xml

3) Fill in <string> ~ ~ ~ </string> lines with data of your own Report Portal server.

4) Run command "composer update" to get dependencies.

5) Enjoy.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-17