All Projects → allure-framework → allure-codeception

allure-framework / allure-codeception

Licence: Apache-2.0 License
Codeception framework adapter for Allure

Programming Languages

PHP
23972 projects - #3 most used programming language
Gherkin
971 projects

Projects that are alternatives of or similar to allure-codeception

allure-php-api
PHP API for Allure Framework
Stars: ✭ 32 (-25.58%)
Mutual labels:  reporting, allure
allure-docs
Allure Framework documentation
Stars: ✭ 50 (+16.28%)
Mutual labels:  reporting, allure
allure-rspec
Deprecated, use https://github.com/allure-framework/allure-ruby instead
Stars: ✭ 30 (-30.23%)
Mutual labels:  reporting, allure
Allure2
Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
Stars: ✭ 2,596 (+5937.21%)
Mutual labels:  reporting, allure
allure-bamboo
Allure plugin for Atlassian Bamboo
Stars: ✭ 26 (-39.53%)
Mutual labels:  reporting, allure
allure-gradle
Allure Gradle Plugin
Stars: ✭ 62 (+44.19%)
Mutual labels:  reporting, allure
allure-docker-service-ui
Allure Docker Service UI provides a friendly user interface for frankescobar/allure-docker-service API container.
Stars: ✭ 51 (+18.6%)
Mutual labels:  reporting, allure
allure-ruby
Allure integrations for Ruby test frameworks
Stars: ✭ 40 (-6.98%)
Mutual labels:  reporting, allure
pgbouncer wrapper
SQL wrapper around pgbouncer's console
Stars: ✭ 18 (-58.14%)
Mutual labels:  reporting
StormReport
🌀 Library - Create your reports using only annotations
Stars: ✭ 17 (-60.47%)
Mutual labels:  reporting
codeigniter-tettei-apps
『CodeIgniter徹底入門』のサンプルアプリケーション(CodeIgniter v3.1版)
Stars: ✭ 26 (-39.53%)
Mutual labels:  codeception
Samples-ASP.NET-MVC-CSharp
ASP.NET MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 31 (-27.91%)
Mutual labels:  reporting
akvo-rsr
Akvo Really Simple Reporting
Stars: ✭ 33 (-23.26%)
Mutual labels:  reporting
InAppDevTools
Android library with a collection of tools for debugging, inspecting and reporting from within your own app
Stars: ✭ 26 (-39.53%)
Mutual labels:  reporting
screenpy
Screenplay pattern base for Python automated UI test suites.
Stars: ✭ 38 (-11.63%)
Mutual labels:  allure
saltdash
A read-only dashboard for Salt jobs
Stars: ✭ 18 (-58.14%)
Mutual labels:  reporting
jmeterReports
Jmeter autogenerater reports after test to Confluence, using grafana custom dushboards.
Stars: ✭ 23 (-46.51%)
Mutual labels:  reporting
pivot-vue
Integration example of WebDataRocks web reporting tool with the Vue framework
Stars: ✭ 17 (-60.47%)
Mutual labels:  reporting
Samples-NET.Core-MVC-CSharp
ASP.NET Core 2.0 MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 28 (-34.88%)
Mutual labels:  reporting
risu
Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
Stars: ✭ 62 (+44.19%)
Mutual labels:  reporting

Allure Codeception Adapter

Latest Stable Version Build Type Coverage Psalm Level Total Downloads License

This is an official Codeception adapter for Allure Framework.

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.

Example project

Example project is located at: https://github.com/allure-examples/allure-codeception-example

Installation and Usage

In order to use this adapter you need to add a new dependency to your composer.json file:

{
    "require": {
	    "php": "^8",
	    "allure-framework/allure-codeception": "^2"
    }
}

To enable this adapter in Codeception tests simply put it in "enabled" extensions section of codeception.yml:

extensions:
    enabled:
        - Qameta\Allure\Codeception\AllureCodeception
    config:
        Qameta\Allure\Codeception\AllureCodeception:
            outputDirectory: allure-results
            linkTemplates:
                issue: https://example.org/issues/%s
            setipHook: My\SetupHook

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.

linkTemplates is used to process links and generate URLs for them. You can put here an sprintf()-like template or a name of class to be constructed; such class must implement Qameta\Allure\Setup\LinkTemplateInterface.

setupHook allows to execute some bootstrapping code during initialization. You can put here a name of the class that implements magic __invoke() method - and that method will be called. For example, it can be used to ignore unnecessary docblock annotations:

<?php

namespace My;

use Doctrine\Common\Annotations\AnnotationReader;

class SetupHook
{
    public function __invoke(): void
    {
        AnnotationReader::addGlobalIgnoredName('annotationToIgnore');
    }
}

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

allure generate -o ./build/allure-report ./build/allure-results

Report will be generated in build/allure-report.

Main features

See respective PHPUnit section.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].