forked from cobrateam/splinter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (20 loc) · 778 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (20 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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)