# test.py in your project root import pytest if __name__ == "__main__": # Run pytest on the tests directory pytest.main(["-v", "./tests"])