2017 © Pedro Peláez
 

library peridot

A Peridot extension that executes tests as Recoil coroutines

image

recoil/peridot

A Peridot extension that executes tests as Recoil coroutines

  • Friday, August 5, 2016
  • by jmalloc
  • Repository
  • 1 Watchers
  • 2 Stars
  • 695 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 7 Versions
  • 0 % 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

05/08 2016

dev-recoil-124-split-api

dev-recoil-124-split-api https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

05/08 2016

dev-recoilphp/recoil#124-split-api

dev-recoilphp/recoil#124-split-api https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

29/07 2016

dev-master

9999999-dev https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

29/07 2016

0.2.1

0.2.1.0 https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

18/07 2016

0.2.0

0.2.0.0 https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

11/07 2016

0.1.0

0.1.0.0 https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil

10/03 2016

dev-2-coverage

dev-2-coverage https://github.com/recoilphp/peridot

A Peridot extension that executes tests as Recoil coroutines

  Sources   Download

MIT

The Requires

 

The Development Requires

test testing generator asynchronous async unit peridot coroutine recoil