README
1Slim Framework Unit Tests
2
3Follow the directions below to run the Slim Framework unit tests. You'll need the latest version of PHPUnit. To save development time, these unit tests require PHP >= 5.3. However, the Slim Framework itself requires only PHP >= 5.2.
4
51. Install the latest version of PHPUnit
6Visit http://www.phpunit.de/ for installation instructions.
7
82. Run PHPUnit
9From the filesystem directory that contains the `tests` directory, you may run all unit tests or specific unit tests. Here are several examples. The '$>' in the examples below is your command prompt.
10
11To run all tests:
12$> phpunit tests
13
14To run all HTTP-related tests:
15$> phpunit tests/Http
16
17To run only the HTTP Request tests:
18$> phpunit tests/Http/RequestTest