An open API service indexing awesome lists of open source software.

https://github.com/peridot-php/bowling-kata

The bowling kata in Peridot, phpspec, and PHPUnit
https://github.com/peridot-php/bowling-kata

Last synced: 8 months ago
JSON representation

The bowling kata in Peridot, phpspec, and PHPUnit

Awesome Lists containing this project

README

          

Bowling Kata
============

The [bowling kata](http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata) with tests demonstrated using
PHPUnit, phpspec, and Peridot.

Performance
-----------
Performance for these tests was gauged by profiling each tool with Xdebug. Below are the results and output.

### phpspec

![phpspec performance](https://raw.github.com/peridot-php/bowling-kata/master/stats/phpspec.png "phpspec performance")

[phpspec.out](https://raw.github.com/peridot-php/bowling-kata/master/stats/phpspec.out)

### PHPUnit

![PHPUnit performance](https://raw.github.com/peridot-php/bowling-kata/master/stats/phpunit.png "PHPUnit performance")

[phpunit.out](https://raw.github.com/peridot-php/bowling-kata/master/stats/phpunit.out)

### Peridot

![Peridot performance](https://raw.github.com/peridot-php/bowling-kata/master/stats/peridot.png "Peridot performance")

[peridot.out](https://raw.github.com/peridot-php/bowling-kata/master/stats/phpunit.out)