1
0
Fork 0
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:
Gerber, Mike 2023-12-08 16:28:45 +01:00
parent 8c269b35a4
commit 8d0dc72ca2
2 changed files with 17 additions and 0 deletions

16
README-DEV.md Normal file
View 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
```

View file

@ -1 +1,2 @@
pytest
pytest-profiling