2017 © Pedro Peláez
 

library peridot

Event driven BDD test framework for PHP 5.4+

image

peridot-php/peridot

Event driven BDD test framework for PHP 5.4+

  • Thursday, February 22, 2018
  • by brianium
  • Repository
  • 15 Watchers
  • 289 Stars
  • 95,261 Installations
  • PHP
  • 155 Dependents
  • 0 Suggesters
  • 28 Forks
  • 13 Open issues
  • 46 Versions
  • 5 % Grown

The README.md

Peridot logo, (*1)

Packagist Version Build Status HHVM Build Status Windows Build Status Scrutinizer Code Quality Codecov Coverage Gitter Chat, (*2)

The highly extensible, highly enjoyable, PHP testing framework., (*3)

Read more at peridot-php.github.io or head over to the wiki., (*4)

Building PHAR

Peridot's phar is built using Box. Once box is installed, the phar can be built using the following command from the project directory:, (*5)

box build

Generating Peridot's documentation

Peridot API documentation is generated using apigen. Once apigen is installed, run the following command from the project directory:, (*6)

apigen generate

This will output documentation to the docs/ directory., (*7)

Running Peridot's tests

Peridot's test suite can be run using Peridot:, (*8)

$ bin/peridot

And a sample of output:, (*9)

Peridot output sample, (*10)

Release

We use Robo for releases., (*11)

robo release [version] [site-path]

using assert for expectations

Peridot sets ASSERT_CALLBACK via assert_options in order to throw exceptions when using the native assert function. Peridot specs are considered passing if they don't throw an exception; if you are using assert for expectations and you find your specs are triggering false positives, you may need to update zend.assertions to 1 in your php.ini. This is set to -1 by default in PHP 7+, (*12)

If you aren't too keen on using assert for testing, there are a ton of assertion/expectation libraries out there. Anything that throws exceptions in response to a failed assertion will do. The peridot-php org has authored Leo, and this library offers a richer assertion vocabulary for testing., (*13)

The Versions

22/02 2018

dev-master

9999999-dev

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

19/01 2017

1.19.0

1.19.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

09/01 2017

dev-multiple-paths

dev-multiple-paths

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

22/04 2016

1.18.1

1.18.1.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

13/03 2016

1.18.0

1.18.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

23/02 2016

1.17.0

1.17.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

28/10 2015

1.16.0

1.16.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

01/06 2015

1.15.2

1.15.2.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

17/05 2015
31/03 2015

1.15.1

1.15.1.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

24/02 2015

1.15.0

1.15.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

15/02 2015

1.14.0

1.14.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

12/02 2015

1.13.0

1.13.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

06/02 2015

1.12.0

1.12.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

31/01 2015

1.11.1

1.11.1.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

22/01 2015

1.11.0

1.11.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

18/01 2015

1.10.0

1.10.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

06/01 2015

1.9.0

1.9.0.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

27/12 2014

1.8.5

1.8.5.0

Event driven BDD test framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

16/11 2014

1.8.4

1.8.4.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

16/11 2014

1.8.3

1.8.3.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

16/11 2014

1.8.2

1.8.2.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

11/11 2014

1.8.1

1.8.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

09/11 2014

1.8.0

1.8.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

07/11 2014

1.7.1

1.7.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

05/11 2014

1.7.0

1.7.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

04/11 2014

1.6.1

1.6.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

03/11 2014

1.6.0

1.6.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

02/11 2014

1.5.0

1.5.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

31/10 2014

1.4.0

1.4.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

31/10 2014

1.3.1

1.3.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

31/10 2014

1.3.0

1.3.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

30/10 2014

1.2.3

1.2.3.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

30/10 2014

1.2.2

1.2.2.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing php

29/10 2014

1.2.1

1.2.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.2.0

1.2.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.1.7

1.1.7.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.1.6

1.1.6.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.1.4

1.1.4.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.1.3

1.1.3.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

29/10 2014

1.1.1

1.1.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

28/10 2014

1.1.0

1.1.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

27/10 2014

1.0.3

1.0.3.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

26/10 2014

1.0.2

1.0.2.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

23/10 2014

1.0.1

1.0.1.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing

20/10 2014

1.0.0

1.0.0.0

Event driven testing framework for PHP 5.4+

  Sources   Download

MIT

The Requires

 

The Development Requires

by Austin Morris

bdd tdd testing