taf.plugins.pytest_start_from_caseΒΆ

pytest_start_from_case.py

Starting tests execution from the specified test case not from the beginning

Examples:

# complete test-name
$ py.test PATH_TO_TESTS --start_from_case test_my_func

# not complete test-name
$ py.test PATH_TO_TESTS --start_from_case test*func

# or
$ py.test PATH_TO_TESTS --start_from_case *func

# parameterized tests
$ py.test PATH_TO_TESTS --start_from_case test*[1]

# or
$ py.test PATH_TO_TESTS --start_from_case test*1