承接 ezsystems/allure-php-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ezsystems/allure-php-api

最新稳定版本:v3.3.0

Composer 安装命令:

composer require ezsystems/allure-php-api

包简介

PHP API for Allure adapter

README 文档

README

This repository contains PHP API for Allure framework with eZ Systems modifications for newer JMS Serializer. The main idea is to reuse this API when creating adapters for different test frameworks.

Getting started

In order to use this API you simply need to add the following to composer.json:

{
    "require": {
        "php": "^5.4.0 || ^7.1.3",
        "ezsystems/allure-php-api": "~3.0.0"
    }
}

Basic usage idiom is to fire an event like the following:

Allure::lifecycle()->fire(new TestCaseFinishedEvent());

Events

The following events are available right now:

  • AddAttachmentEvent
  • AddParameterEvent
  • ClearStepStorageEvent
  • ClearTestCaseStorageEvent
  • RemoveAttachmentsEvent
  • StepCanceledEvent
  • StepEvent
  • StepFailedEvent
  • StepFinishedEvent
  • StepStartedEvent
  • TestCaseBrokenEvent
  • TestCaseCanceledEvent
  • TestCaseEvent
  • TestCaseFailedEvent
  • TestCaseFinishedEvent
  • TestCasePendingEvent
  • TestCaseStartedEvent
  • TestCaseStatusChangedEvent
  • TestSuiteEvent
  • TestSuiteFinishedEvent
  • TestSuiteStartedEvent

Usage examples

See allure-phpunit project.

统计信息

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

GitHub 信息

  • Stars: 13
  • Watchers: 0
  • Forks: 29
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-10-16