Added notes that "./build.py test" requires plovr to be running

This commit is contained in:
Tobias Bieniek
2013-03-09 20:05:31 +01:00
parent 65397eb732
commit 4f8ffbf2ce
2 changed files with 5 additions and 1 deletions

View File

@@ -50,7 +50,8 @@ Use the following to run the tests:
$ ./build.py test
This command assumes that the `phantomjs` command is on your PATH.
This command assumes that the `phantomjs` command is on your PATH and that the
polvr web server is running (`./build.py serve`).
### The `precommit` target

View File

@@ -24,6 +24,9 @@ With PhantomJS installed, and assuming phantomjs is in the PATH:
This command can also be run by doing `./build.py test` at the root of ol3.
Make sure that the polvr web server is running (`./build.py serve`), otherwise
you will most likely see something like `0 specs, 0 failures in 0.001s.`.
Tip for TDD'ers: to make PhantomJS run the test suite continuously each time
a spec file is changed you can use nosier (http://pypi.python.org/pypi/nosier)
and do `nosier -p test -p src "./build.py test"`.