mbrung / journal-extension

Behat extension to add screenshots in HTML reports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Behat - Journal Extension

This extension provides a HTML format for Behat with screenshots.

Installation

Add it to your composer.json:

{
    "require": {
        "alom/journal-extension": "dev-master"
    }
}

Configure behat.yml:

default:
    extensions:
        Behat\JournalExtension\Extension:
            driver: mink # available: mink, webdriver

Launch your test suite with format journal:

$ bin/behat -f journal --out journal.html [feature, ...]

This command will produce a file journal.html containing the HTML standard output with additional screenshots.

To work, you have to use proper extension for it. Supported are:

About

Behat extension to add screenshots in HTML reports

License:MIT License


Languages

Language:PHP 100.0%