File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1
- # seleniumTests
2
- Selenium tests for the codebender website
1
+ # Codebender Selenium Tests
2
+
3
+ This repo contains Selenium tests for the codebender website.
4
+ The tests are written in Python 3.
5
+
6
+ ## Running Tests
7
+
8
+ To run tests locally, you'll need to be running a selenium server. See
9
+ [ here] ( https://selenium-python.readthedocs.org/installation.html#downloading-selenium-server )
10
+ for instructions.
11
+
12
+ Once you've got a Selenium server running, simply run ` $ tox ` from within the
13
+ repo. If you don't have tox, run ` $ sudo pip3 install -r requirements-dev.txt `
14
+ from within the repo to install it.
15
+
16
+ When running tox, you might get a ` pkg_resources.DistributionNotFound ` error
17
+ with reference to ` virtualenv ` . This is likely due to an out of date setuptools.
18
+ To fix this issue, run ` $ sudo pip3 install -U setuptools ` .
Original file line number Diff line number Diff line change
1
+ tox
2
+ pytest
3
+ virtualenv
4
+
Original file line number Diff line number Diff line change 1
1
pytest == 2.6.4
2
2
selenium == 2.44.0
3
- tox == 1.8.1
4
- virtualenv == 12.0.6
You can’t perform that action at this time.
0 commit comments