This commit is contained in:
Thomas Levine 2012-10-08 10:13:43 -04:00
parent e4c20076fc
commit 248e118f0b
1 changed files with 4 additions and 3 deletions

View File

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