summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2018-09-27 15:54:46 +1000
committerMiguel Jacq <mig@mig5.net>2018-09-27 15:54:46 +1000
commit8fc8e0765c73530136b9cd203bc059be09bd8475 (patch)
treed914c04fa7eb88c2874166d859cf1203cad95d22 /BUILD.md
parent201f351279ee58166458717415045cfe62c2ac69 (diff)
downloadonionshare-8fc8e0765c73530136b9cd203bc059be09bd8475.tar.gz
onionshare-8fc8e0765c73530136b9cd203bc059be09bd8475.zip
Rename test dir to tests. Rename unit_tests to tests_gui_local. Add test dependencies. Update various paths. Add GUI unit tests docs to BUILD.md
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 1feedf49..308a186c 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -137,8 +137,21 @@ This will prompt you to codesign three binaries and execute one unsigned binary.
## Tests
-OnionShare includes PyTest unit tests. To run the tests:
+OnionShare includes PyTest unit tests. To run the tests, first install some dependencies:
```sh
-pytest test/
+pip3 install -r install/requirements-tests.txt
+```
+
+If you'd like to run the CLI-based tests that Travis runs:
+
+```sh
+pytest tests/
+```
+
+If you would like to run the GUI unit tests in 'local only mode':
+
+```sh
+cd tests_gui_local/
+./run_unit_tests.sh
```