O'Reilly logo

FuelPHP Application Development Blueprints by Sébastien Drouyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unit tests

Unit tests are particularly suitable for this project, as it is important to regularly check if the API is returning the correct data. We will in this section quickly introduce you to how unit tests are implemented in FuelPHP. These tests will be very superficial as this is just an introduction. If you are not familiar with unit tests, you can start by reading the FuelPHP documentation about unit testing at http://fuelphp.com/docs/general/unit_testing.html.

The documentation can be accessed at the FuelPHP website by navigating to DOCS | FuelPHP | General | Unit Testing.

For more general information, you can look at the Wikipedia web page for more references (http://en.wikipedia.org/wiki/Unit_testing).

To make things short, unit tests allow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required