2017 © Pedro Peláez
 

library phpspec-multi-formatter

A mutli-format outputter for PhpSpec

image

samburns/phpspec-multi-formatter

A mutli-format outputter for PhpSpec

  • Tuesday, August 1, 2017
  • by Sam-Burns
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PhpSpec Multi-Formatter

A library that acts as a facade for two other PhpSpec formatters. Primarily intended for use on Continuous Integration servers. Allows you to use the 'dot formatter' and output a JUnit XML file in a single test run., (*1)

State of Development

In alpha. Sort of works. Development/testing ongoing. Contributions welcome., (*2)

Use

Requires PhpSpec 4 and PHP 7., (*3)

composer require --dev samburns/phpspec-multi-formatter 

In your phpspec.yml file:, (*4)

extensions:
    "SamBurns\\PhpSpecMultiFormatter\\Extension":
        file: 'spec/junit.xml'

Running PhpSpec with the multi-formatter:, (*5)

./vendor/bin/phpspec run --format=multiformatter

Development

Clone the repository and run Composer., (*6)

Run the following command from the project root:, (*7)

./vendor/bin/phpspec r -c test/sampleapp/phpspec.yml --format=multiformatter

It should create a file called ./test/sampleapp/spec/junit-output/junit.xml and do 'dot formatter' output at the same time. If it does, then you haven't broken anything., (*8)

The Versions

01/08 2017

dev-master

9999999-dev

A mutli-format outputter for PhpSpec

  Sources   Download

MIT

The Requires

 

01/08 2017

0.1.0

0.1.0.0

A mutli-format outputter for PhpSpec

  Sources   Download

The Requires