Skip to content

josecelano/php-kata-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT: I found a better repo for a base bootstrap for PHP katas:

https://github.com/CodiumTeam/php-kata-bootstrap

PHP Kata skeleton

Base project for katas. In order to perform a kata, first of all you will need to install all of the dependencies. This can be done using composer.

phpunit

Next, to execute the unit tests you need run this from the php directory

    .\bin\phpunit

Coverage:

If your IDE doesn't handle it you can launch and visualize it from the command line. Given you are in the php folder just run

    .\bin\phpunit --coverage-text

If you want to visualize it from the browser you have to run PHPUnit with this parameters

    .\bin\phpunit --coverage-html report/

Then visualize

    .\report\index.html

in a browser

phpspec

.\bin\phpspec desc Kata\Sut
.\bin\phpspec run 

behat

.\bin\behat --init
.\bin\behat

Releases

No releases published

Packages

No packages published