See our medium aticle.
pip3 install pytest asynctest pytest-xdist[psutil] openzeppelin-cairo-contracts
starknet-compile contracts/user_position_mgr.cairo --output artifacts/user_position_mgr.json --abi artifacts/abi/user_position_mgr.json
Run single test
pytest -s -W ignore::DeprecationWarning tests/test_user_position_mgr.py
or you can run it in parallel
pytest -n auto -s -W ignore::DeprecationWarning tests/test_user_position_mgr.py