def METHOD_NAME(pytest_test_inst):
    """Test running a single testsuite iteratively."""
    all_results = list(
        pytest_test_inst.run_testcases_iter(
            testsuite_pattern="pytest_tests.py::TestPytestBasics"
        )
    )
    assert len(all_results) == 6
    report_attributes, current_uids = all_results[0]
    assert current_uids == ["My PyTest", "pytest_tests.py::TestPytestBasics"]
    assert report_attributes["runtime_status"] == report.RuntimeStatus.RUNNING
    counter = collections.Counter()
    for testcase_report, _ in all_results[1:]:
        counter[testcase_report.status] += 1
        counter["total"] += 1
    assert counter["total"] == 5
    assert counter["passed"] == 4
    assert counter["failed"] == 1
    assert counter["skipped"] == 0