Skip to content

Commit

Permalink
Add requirements-test.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Oct 12, 2020
1 parent f032deb commit a1e65dc
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Run Tribler

Full instruction: [install requirements](https://github.com/Tribler/tribler#setting-up-your-development-environment)

```
python3 -m pip install -r requirements.txt
tribler.sh
```

# Run Tests

Install all necessary dependencies:
```
python3 -m pip install -r requirements-test.txt
```
Note: `requirements-test.txt` already contains all requirements
from` requirements.txt`.

##

Export to PYTHONPATH the following directories:

* tribler-common
* tribler-core
* tribler-gui

Execute:
```
python3 -m pytest tribler-core
python3 -m pytest tribler-gui --guitests
```
11 changes: 11 additions & 0 deletions src/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-r requirements.txt

pytest
pytest-asyncio
pytest-cov
pytest-mock
pytest-randomly
pytest-timeout
pytest-xdist

asynctest

0 comments on commit a1e65dc

Please sign in to comment.