https://github.com/josecelano/php-kata-skeleton
Base project for katas
https://github.com/josecelano/php-kata-skeleton
coding-dojo dojo dojo-kata kata php
Last synced: about 2 months ago
JSON representation
Base project for katas
- Host: GitHub
- URL: https://github.com/josecelano/php-kata-skeleton
- Owner: josecelano
- Created: 2016-03-10T13:08:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T22:00:33.000Z (about 6 years ago)
- Last Synced: 2025-04-01T21:54:38.117Z (about 2 months ago)
- Topics: coding-dojo, dojo, dojo-kata, kata, php
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> 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
```shell
.\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```shell
.\bin\phpunit --coverage-text
```If you want to visualize it from the browser you have to run PHPUnit with this parameters
```shell
.\bin\phpunit --coverage-html report/
```Then visualize
```shell
.\report\index.html
```in a browser
## phpspec
```shell
.\bin\phpspec desc Kata\Sut
.\bin\phpspec run
```## behat
```shell
.\bin\behat --init
.\bin\behat
```