php version of daff
PHP Shell
Clone or download
Latest commit cb5dfa7 Apr 27, 2016
Permalink
Failed to load latest commit information.
gen 1.3.16 Apr 28, 2016
scripts 1.3.2 Sep 22, 2015
test 1.3.16 Apr 28, 2016
.gitignore ignore composer files Oct 20, 2014
README.md add details on how to setup / run tests Oct 20, 2014
composer.json adding phpunit dependency Oct 20, 2014

README.md

daff-php

This contains the haxe-generated php code for daff.

Tests

Tests require the use of PHPUnit which can be installed via composer. To install PHPUnit to run the tests use the following command.

composer update --dev

Tests are located in the ./test directory, to run all tests simply use the following command

vendor/phpunit/phpunit/phpunit --bootstrap test/bootstrap.php test

Similarly you can run a single test using the following command. (eg: running the SomeFileTest.php test case)

vendor/phpunit/phpunit/phpunit --bootstrap test/bootstrap.php test/SomeFileTest