def METHOD_NAME(metafunc):
    """Hook function to customize test discovery and parametrization.
    It parametrizes, skips or fails a discovered test according the test configuration.
    """
    if "inputs" in metafunc.fixturenames:
        test_config_key = metafunc.cls.config_key()
        global_config = load_config(metafunc.config.getoption("--acceptance-test-config"))
        test_configuration: GenericTestConfig = getattr(global_config.acceptance_tests, test_config_key, None)
        test_action, reason = parametrize_skip_or_fail(
            metafunc.cls, metafunc.function, global_config.test_strictness_level, test_configuration
        )
        if test_action == TestAction.PARAMETRIZE:
            metafunc.parametrize("inputs", test_configuration.tests)
        if test_action == TestAction.SKIP:
            pytest.skip(reason)
        if test_action == TestAction.FAIL:
            pytest.fail(reason)