summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2018-10-13 10:39:26 +1100
committerMiguel Jacq <mig@mig5.net>2018-10-13 10:39:26 +1100
commit8f5ea18464824099fe7b4982e2e63eef76722a64 (patch)
treec8411429cacc1c8231267b19675eb9b348ca1e58 /BUILD.md
parent10cdfa7631ea98f07f081d1942c9cdb4f1caf945 (diff)
downloadonionshare-8f5ea18464824099fe7b4982e2e63eef76722a64.tar.gz
onionshare-8f5ea18464824099fe7b4982e2e63eef76722a64.zip
Update test documentation
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md14
1 files changed, 3 insertions, 11 deletions
diff --git a/BUILD.md b/BUILD.md
index 00d24cd2..b92f4110 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -143,24 +143,16 @@ OnionShare includes PyTest unit tests. To run the tests, first install some depe
pip3 install -r install/requirements-tests.txt
```
-If you'd like to run the CLI-based tests that Travis runs:
+Then you can run `pytest` against the `tests/` directory.
```sh
pytest tests/
```
-If you would like to run the GUI unit tests in 'local only mode':
+If you would like to also run the GUI unit tests in 'tor' mode, start Tor Browser in the background, then run:
```sh
-cd tests_gui_local/
-./run_unit_tests.sh
-```
-
-If you would like to run the GUI unit tests in 'tor' (bundled) mode:
-
-```sh
-cd tests_gui_tor/
-./run_unit_tests.sh
+pytest --runtor tests/
```
Keep in mind that the Tor tests take a lot longer to run than local mode, but they are also more comprehensive.