diff options
author | Miguel Jacq <mig@mig5.net> | 2018-09-27 15:54:46 +1000 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2018-09-27 15:54:46 +1000 |
commit | 8fc8e0765c73530136b9cd203bc059be09bd8475 (patch) | |
tree | d914c04fa7eb88c2874166d859cf1203cad95d22 /BUILD.md | |
parent | 201f351279ee58166458717415045cfe62c2ac69 (diff) | |
download | onionshare-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.md | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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 ``` |