def METHOD_NAME(
    tmp_path: Path,
    backend: str,
    venv_type: str,
    package_type: str,
    backend_clopt: List[str],
    host_configuration_clopt: str,
):
    skip_if_backend_not_selected(backend, backend_clopt)
    if "pypi" in package_type:
        pytest.xfail("Disabled until NNCF is exposed in a release")
    venv_path = create_venv_with_nncf(tmp_path, package_type, venv_type, extra_reqs={backend})
    if is_linux():
        pip_with_venv = f". {venv_path}/bin/activate && {venv_path}/bin/pip"
    elif is_windows():
        pip_with_venv = f" {venv_path}\\Scripts\\activate && python -m pip"
    backend_name = "tensorflow" if backend == "tf" else backend
    subprocess.check_call(
        f"{pip_with_venv} install -r {PROJECT_ROOT}/tests/{backend_name}/requirements.txt", shell=True
    )
    run_install_checks(venv_path, tmp_path, package_type, backend=backend, install_type=host_configuration_clopt)