You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,7 @@ Requirements are retrieved and/or build automatically via pip (see below).
38
38
If running tests:
39
39
40
40
* mock - makes constructing mock objects/functions easy
41
-
* django-nose - provides nosetest as a test runner
42
-
* nose-exclude - allows certain directories to be excluded from nose
43
-
* nose-testconfig - pass configuration data to tests; used to configure
44
-
selenium tests
41
+
* py.test - provides py.test as a test runner
45
42
* coverage - provides test-coverage metrics
46
43
47
44
## Setup & Running
@@ -158,9 +155,9 @@ After you create a [Sauce Labs](https://saucelabs.com) account:
158
155
159
156
##### For functional tests
160
157
- They also require having the environment serving data from ```dummy_api/```. To start the dummy API, from the root of your repo, run ```./dummy_api/start.sh 0.0.0.0:8282```.
161
-
- The tests run using [nose](http://nose.readthedocs.org/en/latest/). If you wish to run the tests outside of the Grunt environment, you may by running ```nosetests regulations/uitests/*.py``` from the root of the repo.
162
-
- By default, functional tests run using a local PhantomJS driver. To run using a different local browser, pass the `local` option, e.g. `tc=local:Chrome`; the option should be a webdriver class within the `selenium.webdriver` module.
163
-
- To run tests using Sauce Labs, set the `remote` option to a key in `regulations.uitests.base_test:remote_configs`, e.g. `--tc=remote:ie11`. Alternatively, run `grunt nose` to run against all configured browsers on Sauce Labs, or `grunt shell:nose-chrome` to run against a single remote browser.
158
+
- The tests run using [py.test](http://docs.pytest.org/en/latest/). If you wish to run the tests outside of the Grunt environment, you may by running ```py.test regulations/uitests/``` from the root of the repo.
159
+
- By default, functional tests run using a local PhantomJS driver. To run using a different local browser, set a `UITESTS_LOCAL` environment variable, e.g. `UITESTS_LOCAL=Chrome`; the option should be a webdriver class within the `selenium.webdriver` module.
160
+
- To run tests using Sauce Labs, set the `UITESTS_REMOTE` env variable to a key in `regulations.uitests.base_test:remote_configs`, e.g. `UITESTS_REMOTE=ie11`.
164
161
165
162
##### For unit tests
166
163
- Unit tests do not require running the dummy API.
0 commit comments