Skip to content

sitrunlab/learn-phpspec

Repository files navigation

learn-phpspec

Build Status Coverage Status PHPStan

Consume:

$ git clone https://github.com/sitrunlab/learn-phpspec.git
$ cd learn-phpspec
$ composer install
$ bin/phpspec run

Add new Spec:

$ bin/phpspec desc App/Foo

You will get FooSpec class with namespace Spec\App inside spec folder.

Run phpspec:

$ bin/phpspec run

If you don't have an App\Foo.php file, phpspec will ask for generate one for you:

run spec

And you're ready to add more tests first app!

Releases

No releases published

Packages

No packages published