def METHOD_NAME(pyunit_runner_inst):
    """Test running all testcases iteratively."""
    results = list(pyunit_runner_inst.run_testcases_iter())
    assert len(results) == 3
    report_attributes, current_uids = results[0]
    assert current_uids == ["My PyUnit"]
    assert report_attributes["runtime_status"] == report.RuntimeStatus.RUNNING
    passing_testcase_report, passing_parent_uids = results[1]
    assert passing_parent_uids == ["My PyUnit", "Passing"]
    _check_passing_testcase_report(passing_testcase_report)
    failing_testcase_report, failing_parent_uids = results[2]
    assert failing_parent_uids == ["My PyUnit", "Failing"]
    _check_failing_testcase_report(failing_testcase_report)