mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-09 19:59:57 +02:00
✔ Enable/document profiling
This commit is contained in:
parent
8c269b35a4
commit
8d0dc72ca2
2 changed files with 17 additions and 0 deletions
16
README-DEV.md
Normal file
16
README-DEV.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
```
|
||||
pip install -r requirements-test.txt
|
||||
```
|
||||
|
||||
To run tests:
|
||||
```
|
||||
pytest
|
||||
```
|
||||
|
||||
To run a test with profiling:
|
||||
|
||||
1. Make sure graphviz is installed
|
||||
2. Run pytest with with profiling enabled:
|
||||
```
|
||||
pytest --profile-svg -k test_page_info
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue