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 \
|
coffee-script \
|
||||||
less \
|
less \
|
||||||
grunt-cli \
|
grunt-cli \
|
||||||
karma-cli
|
karma-cli \
|
||||||
|
phantomjs-prebuilt
|
||||||
ADD . /rookeries
|
ADD . /rookeries
|
||||||
WORKDIR /rookeries
|
WORKDIR /rookeries
|
||||||
RUN pip install --quiet -r requirements-dev.txt \
|
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.tasks
|
||||||
docker-compose run rookeries inv test.server --couchdb-connection=http://admin:password@couchdb:5984/
|
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:
|
demo:
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
python -m webbrowser -n http://localhost:5000/
|
python -m webbrowser -n http://localhost:5000/
|
||||||
|
|
Loading…
Reference in New Issue