$ pip install pytest-cricri
$ pytest --cricri test_package_name.test_module_name.TestBaseClass
test_package_name should be set in the PYTHONPATH variable.
You can set the max_loop parameter using syntax:
$ pytest --cricri test_package_name.test_module_name.TestBaseClass:2