Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Unit testing with FuelPHP and Xdebug
  • If you have xdebug enabled and want to get the ui report of unit tests you can modify /fuel/core/phpunit.xml and add in the logging node like: <logging>
    <log type="coverage-html" target="path-to-report" charset="UTF-8" yui="true" highlight="false" lowUpperBound="35" highLowerBound="70"/>
    </logging> Then run unit tests as normal in fuelphp e.g. php oil test --group=Core. After the tests are run you will see the line "Generating code coverage report, this may take a moment" to know you've been successful.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!