2017 © Pedro Peláez
 

behat-extension behat-twig-report-extension

Create Behat 3 test reports with Twig templates

image

bwannduke/behat-twig-report-extension

Create Behat 3 test reports with Twig templates

  • Tuesday, July 18, 2017
  • by bwannduke
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

behat-twig-report-extension

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

About

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

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

An example can be found here, (*4)

Screenshot, (*5)

Installation

In your composer.json add, (*6)

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

and update your dependencies, (*7)

Usage

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

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

Configuration

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

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

18/07 2017

dev-master

9999999-dev

Create Behat 3 test reports with Twig templates

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Hartinger

18/07 2017

v0.2.0

0.2.0.0

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