Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Unit test
  • can I make PHPUnit tests in app (not core)?
  • how using phpunit with fuel?
  • You run them from the commandline using
    php oil test [--coverage-html] [--group=groupname]
    

    See core/tests on how to create tests.
  • Yes, in exactly the same way, so in app/tests. Note that if you have altered the default FuelPHP file structure, you might have to change bits in core/bootstrap_phpunit.php and core/phpunit.xml to reflect your changes.

Howdy, Stranger!

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

In this Discussion