Skip to content

Commit

Permalink
Merge pull request #108 from miggland/test-docs
Browse files Browse the repository at this point in the history
Expand documentation on running tests
  • Loading branch information
SchrodingersGat authored Jun 17, 2022
2 parents 9468142 + 7fc9454 commit 035e5d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ invoke test

This assumes you have installed, on your path:

- python
- python (with requirements in requirements.txt)
- invoke
- docker-compose

Before the first test, run the following:

```
invoke update-image
```

The `invoke-test` command performs the following sequence of actions:

- Ensures the test InvenTree server is running (in a docker container)
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
requests==2.21.0 # Python HTTP for humans
flake8==3.8.4 # PEP checking
wheel>=0.34.2 # Building package
invoke>=1.4.0
invoke>=1.4.0
coverage>=6.4.1 # Run tests, measure coverage
Pillow>=9.1.1

0 comments on commit 035e5d7

Please sign in to comment.