✔ Enable/document profiling
parent
8c269b35a4
commit
8d0dc72ca2
@ -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
|
||||||
|
```
|
@ -1 +1,2 @@
|
|||||||
pytest
|
pytest
|
||||||
|
pytest-profiling
|
||||||
|
Loading…
Reference in New Issue