This commit is contained in:
Thomas Levine 2012-10-08 10:13:43 -04:00
parent e4c20076fc
commit 248e118f0b

View File

@ -19,9 +19,10 @@ Now you can run it.
urchin urchin
## Writing tests ## Writing tests
Make a directory named `tests`. Inside it, put files that begin with `test` Make a root directory for your tests. Inside it, put executable files that
that exit `0` on success and something else on fail. Then run urchin from exit `0` on success and something else on fail. Non-executable files are
the parent directory of the `tests` directory. ignored, so you can store fixtures right next to your tests. Run urchin from
inside the tests directory.
## More about writing tests ## More about writing tests
Tests are organized recursively in directories, where the names of the files Tests are organized recursively in directories, where the names of the files