Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.71 kB
Sag Tests
=========
These would be unit tests if they didn't rely on the database - think of them
as a cross between integration and unit tests. They are written with PHPUnit
(http://www.phpunit.de/) and are known to run with version 3.3.16, though other
versions will probably work too.
The coverage directory contains code base coverage reports generated by PHPUnit
and Xdebug.
Running the Tests
-----------------
Make sure you present working directory is the tests directory (where you found
this file) and that the Sag src directory is above it (../src/).
`phpunit .` will simply run all the tests
`phpunit --coverage-html=./coverage/ .` will run all the tests and re-generate
the coverage reports
Jump to Line
Something went wrong with that request. Please try again.