Add support for feature tests in PhantomJS.
This commit is contained in:
parent
267c2ba62e
commit
3e95b84828
|
@ -19,7 +19,8 @@ RUN apt-get update -qq \
|
|||
coffee-script \
|
||||
less \
|
||||
grunt-cli \
|
||||
karma-cli
|
||||
karma-cli \
|
||||
phantomjs-prebuilt
|
||||
ADD . /rookeries
|
||||
WORKDIR /rookeries
|
||||
RUN pip install --quiet -r requirements-dev.txt \
|
||||
|
|
4
Makefile
4
Makefile
|
@ -7,6 +7,10 @@ test:
|
|||
docker-compose run rookeries inv test.tasks
|
||||
docker-compose run rookeries inv test.server --couchdb-connection=http://admin:password@couchdb:5984/
|
||||
|
||||
feature_tests:
|
||||
docker-compose up -d couchdb
|
||||
docker-compose run rookeries inv test.features --couchdb-connection=http://admin:password@couchdb:5984/ --browser=phantomjs
|
||||
|
||||
demo:
|
||||
docker-compose up -d
|
||||
python -m webbrowser -n http://localhost:5000/
|
||||
|
|
Loading…
Reference in New Issue