gopher-proxy/tests
Colin Mitchell 16b22e3263 bump library versions 2013-02-15 20:29:21 -05:00
..
Http bump library versions 2013-02-15 20:29:21 -05:00
Middleware bump library versions 2013-02-15 20:29:21 -05:00
templates bump library versions 2013-02-15 20:29:21 -05:00
EnvironmentTest.php bump library versions 2013-02-15 20:29:21 -05:00
Foo.php bump library versions 2013-02-15 20:29:21 -05:00
LogTest.php bump library versions 2013-02-15 20:29:21 -05:00
LogWriterTest.php bump library versions 2013-02-15 20:29:21 -05:00
MiddlewareTest.php bump library versions 2013-02-15 20:29:21 -05:00
README bump library versions 2013-02-15 20:29:21 -05:00
RouteTest.php bump library versions 2013-02-15 20:29:21 -05:00
RouterTest.php bump library versions 2013-02-15 20:29:21 -05:00
SlimTest.php bump library versions 2013-02-15 20:29:21 -05:00
ViewTest.php bump library versions 2013-02-15 20:29:21 -05:00
bootstrap.php bump library versions 2013-02-15 20:29:21 -05:00

README

Slim Framework Unit Tests

Follow 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.

1. Install the latest version of PHPUnit
Visit http://www.phpunit.de/ for installation instructions.

2. Run PHPUnit
From 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.

To run all tests:
$> phpunit tests

To run all HTTP-related tests:
$> phpunit tests/Http

To run only the HTTP Request tests:
$> phpunit tests/Http/RequestTest