Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit 4c12fd3

Browse files
author
Ryan Y
committed
Set up some of the acceptance testing
Ignore Selenium output files, include dependencies and include the acceptance test Selenium browser setup using PhantomJS. Signed-off-by: Ryan Y <[email protected]>
1 parent 4b119ea commit 4c12fd3

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ web/debug.py
2727

2828
# swap files
2929
*.swp
30+
ghostdriver.log
3031

3132
# coverage file
3233
.coverage

features/environment.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from selenium import webdriver
2+
3+
def before_all(context):
4+
context.browser = webdriver.PhantomJS()

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
astroid==1.4.4
22
behave==1.2.5
33
colorama==0.3.6
4+
coverage==4.0.3
45
enum34==1.1.2
56
Flask==0.9
67
geopy==0.95
@@ -11,9 +12,13 @@ lazy-object-proxy==1.2.1
1112
parse==1.6.6
1213
parse-type==0.3.4
1314
protobuf==2.5.0
15+
py==1.4.31
1416
pylint==1.5.4
1517
pymongo==2.4.1
18+
pytest==2.9.0
19+
pytest-cov==2.2.1
1620
pytz==2013b0
21+
selenium==2.52.0
1722
six==1.10.0
1823
Werkzeug==0.8.3
1924
wheel==0.24.0

0 commit comments

Comments
 (0)