2017 © Pedro Peláez
 

library allure-codeception

A Codeception adapter for Allure report.

image

allure-framework/allure-codeception

A Codeception adapter for Allure report.

  • Wednesday, March 7, 2018
  • by vania-pooh
  • Repository
  • 12 Watchers
  • 15 Stars
  • 38,515 Installations
  • PHP
  • 9 Dependents
  • 0 Suggesters
  • 22 Forks
  • 4 Open issues
  • 12 Versions
  • 38 % Grown

The README.md

Allure Codeception Adapter

Build, (*1)

This is an official Codeception adapter for Allure Framework., (*2)

What is this for?

The main purpose of this adapter is to accumulate information about your tests and write it out to a set of XML files: one for each test class. This adapter only generates XML files containing information about tests. See wiki section on how to generate report., (*3)

Example project

Example project is located at: https://github.com/allure-examples/allure-codeception-example, (*4)

Installation and Usage

In order to use this adapter you need to add a new dependency to your composer.json file:, (*5)

{
    "require": {
        "php": ">=5.4.0",
        "allure-framework/allure-codeception": ">=1.1.0"
    }
}

To enable this adapter in Codeception tests simply put it in "enabled" extensions section of codeception.yml:, (*6)

extensions:
    enabled:
        - Yandex\Allure\Codeception\AllureCodeception
    config:
        Yandex\Allure\Codeception\AllureCodeception:
            deletePreviousResults: false
            outputDirectory: allure-results
            ignoredAnnotations:
                - env
                - dataprovider

deletePreviousResults will clear all .xml files from output directory (this behavior may change to complete cleanup later). It is set to false by default., (*7)

outputDirectory is used to store Allure results and will be calculated relatively to Codeception output directory (also known as paths: log in codeception.yml) unless you specify an absolute path. You can traverse up using .. as usual. outputDirectory defaults to allure-results., (*8)

ignoredAnnotations is used to define extra custom annotations to ignore. It is empty by default., (*9)

To generate report from your favourite terminal, install allure-cli and run following command (assuming you're in project root and using default configuration):, (*10)

allure generate --report-version 1.4.5 --report-path tests/_output/allure-report -- tests/_output/allure-results

Report will be generated in tests/_output/allure-report., (*11)

Main features

See respective PHPUnit section., (*12)

The Versions

07/03 2018

dev-master

9999999-dev http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

07/03 2018

1.2.7

1.2.7.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

27/12 2017

1.2.6

1.2.6.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

01/11 2017

1.2.5

1.2.5.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

18/08 2017

1.2.4

1.2.4.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

02/02 2017

1.2.3

1.2.3.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

17/10 2016

1.2.2

1.2.2.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

19/04 2016

1.2.1

1.2.1.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

13/01 2016

1.2.0

1.2.0.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

24/09 2014

1.1.1

1.1.1.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

04/09 2014

1.1.0

1.1.0.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases

11/06 2014

1.0.0

1.0.0.0 http://allure.qatools.ru/

A Codeception adapter for Allure report.

  Sources   Download

Apache-2.0

The Requires

 

by Ivan Krutov

testing codeception allure report steps attachments cases