Added notes that "./build.py test" requires plovr to be running
This commit is contained in:
+2
-1
@@ -50,7 +50,8 @@ Use the following to run the tests:
|
|||||||
|
|
||||||
$ ./build.py test
|
$ ./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
|
### The `precommit` target
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
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
|
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)
|
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"`.
|
and do `nosier -p test -p src "./build.py test"`.
|
||||||
|
|||||||
Reference in New Issue
Block a user