Mercurial > p > roundup > code
comparison doc/developers.txt @ 7592:3134415ffb8a
docs: add required modules for running tests.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 30 Jul 2023 21:12:11 -0400 |
| parents | 3ff266644794 |
| children | 67438e439da8 |
comparison
equal
deleted
inserted
replaced
| 7591:78490b5b1bfe | 7592:3134415ffb8a |
|---|---|
| 203 | 203 |
| 204 python3 -m pytest -v --testmon test | 204 python3 -m pytest -v --testmon test |
| 205 | 205 |
| 206 once over the whole test suite. Then subsequent calls will analyze the | 206 once over the whole test suite. Then subsequent calls will analyze the |
| 207 changed files/functions and run tests that cover those changes. | 207 changed files/functions and run tests that cover those changes. |
| 208 | |
| 209 To run some tests (test_liveserver.py, test_indexer.py, ...) you need | |
| 210 to have some additional modules installed. These include: | |
| 211 | |
| 212 * requests | |
| 213 * mock | |
| 214 | |
| 215 If you are working with a docker container that is set up to execute | |
| 216 Python application and not for development, you will need to install | |
| 217 pytest. | |
| 208 | 218 |
| 209 Internationalization Notes | 219 Internationalization Notes |
| 210 -------------------------- | 220 -------------------------- |
| 211 | 221 |
| 212 How stuff works: | 222 How stuff works: |
