Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (20 sloc) 0.778 kB
all: test
clean:
@find . -name "*.pyc" -delete
dependencies: specloud coverage selenium flask lxml zopetestbrowser
specloud:
@python -c 'import specloud' 2>/dev/null || pip install specloud
coverage:
@python -c 'import coverage' 2>/dev/null || pip install coverage
selenium:
@python -c 'import selenium' 2>/dev/null || pip install -U selenium==2.0b3
flask:
@python -c 'import flask' 2>/dev/null || pip install flask
lxml:
@python -c 'import lxml' 2>/dev/null || pip install lxml
zopetestbrowser:
@python -c 'import zope.testbrowser' 2>/dev/null || pip install zope.testbrowser
which = 'tests'
test: dependencies clean
@echo "Running all tests..."
specloud --nocapture --with-coverage --cover-erase --cover-inclusive --cover-package=splinter --tests=$(which)
Jump to Line
Something went wrong with that request. Please try again.