Google News
logo
FuelPHP - Interview Questions
How to Running Unit Tests in FuelPHP?
 
FuelPHP's included command-line utility Oil is already configured to run your unit tests. You can run all the tests in your FuelPHP project from the command line using the Oil command line utility:
$ php oil test

Tests Running...This may take a few moments.
PHPUnit 3.6.10 by Sebastian Bergmann.

Configuration read from /home/user/sites/example/fuel/core/phpunit.xml

...............................................................  63 / 251 ( 25%)
............................................................... 126 / 251 ( 50%)
............................................................... 189 / 251 ( 75%)
..............................................................

Time: 6 seconds, Memory: 22.25Mb

OK (251 tests, 206 assertions)
Advertisement