diff --git a/README-DEV.md b/README-DEV.md new file mode 100644 index 0000000..6d1f17d --- /dev/null +++ b/README-DEV.md @@ -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 + ``` diff --git a/requirements-test.txt b/requirements-test.txt index e079f8a..6f0f369 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1 +1,2 @@ pytest +pytest-profiling