Download the PHP package kuczek/behat-html-formatter without Composer

On this page you can find all versions of the php package kuczek/behat-html-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package behat-html-formatter

BehatHtmlFormatterPlugin

Behat 3 extension for generating HTML reports from your test results.

Latest Stable Version Total Downloads Latest Unstable Version License

Twig report

Twig Screenshot

Behat 2 report

Behat2 Screenshot

How?

Installation

Prerequisites

This extension requires:

Through composer

The easiest way to keep your suite updated is to use Composer:

Install with composer:

Install using composer.json

Add BehatHtmlFormatterPlugin to the list of dependencies inside your composer.json.

Then simply install it with composer:

You can read more about Composer on its official webpage.

Basic usage

Activate the extension by specifying its class in your behat.yml:

Configuration

Screenshot

The facility exists to embed a screenshot into test failures.

Currently png is the only supported image format.

In order to embed a screenshot, you will need to take a screenshot using your favourite webdriver and store it in the following filepath format:

results/html/assets/screenshots/{{feature_name}}/{{scenario_name}}.png

The feature_name and scenario_name variables will need to be the relevant item names without spaces.

Below is an example of FeatureContext methods which will produce an image file in the above format:

Note that the currentScenario variable will need to be at class level and generated in the @BeforeScenario method as Behat does not currently support obtaining the current Scenario in the @AfterStep method, where the screenshot is generated

Issue Submission

When you need additional support or you discover something strange, feel free to Create a new issue.

License and Authors

Authors: https://github.com/dutchiexl/BehatHtmlFormatterPlugin/contributors


All versions of behat-html-formatter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
twig/twig Version ~1.5
behat/behat Version ~3.0
behat/gherkin Version ~4.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kuczek/behat-html-formatter contains the following files

Loading the files please wait ....