https://github.com/josecelano/php-rpg-combat-kata
PHP RPG Combat Kata
https://github.com/josecelano/php-rpg-combat-kata
Last synced: about 2 months ago
JSON representation
PHP RPG Combat Kata
- Host: GitHub
- URL: https://github.com/josecelano/php-rpg-combat-kata
- Owner: josecelano
- Created: 2016-03-16T00:38:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-20T00:23:17.000Z (about 9 years ago)
- Last Synced: 2025-04-01T21:54:38.133Z (about 2 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPG Combat Kata
More info: http://www.slideshare.net/DanielOjedaLoisel/rpg-combat-kata
## 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.