• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..20-May-2021-

Helper/H20-May-2021-242186

Http/H20-May-2021-1,8971,328

Middleware/H20-May-2021-1,073733

templates/H20-May-2021-21

EnvironmentTest.phpH A D20-May-202112.3 KiB377176

Foo.phpH A D20-May-202166 87

LogTest.phpH A D20-May-20216.1 KiB209155

LogWriterTest.phpH A D20-May-20211.9 KiB4916

MiddlewareTest.phpH A D20-May-20212.5 KiB8040

READMEH A D20-May-2021738 1812

RouteTest.phpH A D20-May-202119.1 KiB618450

RouterTest.phpH A D20-May-20218.4 KiB251141

SlimTest.phpH A D20-May-202149.1 KiB1,6581,068

ViewTest.phpH A D20-May-20216.5 KiB200133

bootstrap.phpH A D20-May-2021530 2315

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