2017 © Pedro Peláez
 

behat-extension behat-twig-report-extension

Create Behat 3 test reports with Twig templates

image

chartinger/behat-twig-report-extension

Create Behat 3 test reports with Twig templates

  • Tuesday, January 13, 2015
  • by chartinger
  • Repository
  • 5 Watchers
  • 12 Stars
  • 9,965 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

This project is not maintained anymore!

Please use alternatives like https://github.com/dutchiexl/BehatHtmlFormatterPlugin, (*1)

behat-twig-report-extension

Create Behat 3 test reports with Twig templates, (*2)

About

This extension provides an easy way to create reports of your test runs. It uses Twig for templating., (*3)

It term "report" in the extension name is deliberate as the output file will be created after all tests are processed., (*4)

An example can be found here, (*5)

Screenshot, (*6)

Installation

In your composer.json add, (*7)

{
    "require": {
        ...
        "chartinger/behat-twig-report-extension": "*@dev"
    }
}

and update your dependencies, (*8)

Usage

To activate this extension add this to your behat.yml, (*9)

default:
  extensions:
    chartinger\Behat\TwigReportExtension\Extension:
      output:
        file: ./output/index.html

Configuration

You can confgure the templates as well as the output file., (*10)

default:
  extensions:
    chartinger\Behat\TwigReportExtension\Extension:
      templates:
        dir: /path/to/templates
        file: yourtemplate.twig
      output:
        file: ./output/index.html

Known Issues / Limitations

  • No output of exact errors

The Versions

13/01 2015

dev-master

9999999-dev

Create Behat 3 test reports with Twig templates

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Hartinger

13/01 2015

v0.1.0

0.1.0.0

Create Behat 3 test reports with Twig templates

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Hartinger