Peridot: PHP BDD framework

About a year old – – Clean and refreshing. Assertions library at .

Installed it with:

composer global require peridot-php/peridot:~1.15

composer global require peridot-php/leo:~1.0

And had to add it to the PATH ( $HOME/.composer/vendor/bin ).

doctest – Testing through documentation

doctest – Testing through documentation

This page has a somewhat in-depth set of examples for writing unit tests in Python with doctest. specifically shows how to get around some whitespace formatting gotchas.