GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - allure-framework/allure-php-api: PHP API for Allure Framework

BranchesTags
Open more actions menu

Latest commit

 

History

89 Commits
89 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src/Yandex/Allure/Adapter
src/Yandex/Allure/Adapter
 
 
test/Yandex/Allure/Adapter
test/Yandex/Allure/Adapter
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
allurerc.mjs
allurerc.mjs
 
 
composer.json
composer.json
 
 
phpunit.php
phpunit.php
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

Allure PHP API (maintenance)

This project is in Maintenance mode. The new version of PHP API is available at allure-framework/allure-php-commons.

Build

This repository contains PHP API for Allure framework. 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": ">=7.3",
    "allure-framework/allure-php-api": "~1.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.

About

PHP API for Allure Framework

Topics

allurephpreporting

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

34 stars

Watchers

9 watching

Forks

27 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.