def METHOD_NAME(metafunc):
    """
    Apply parametrization to all test functions loaded by pytest.
    The functions discovered by pytest are matched against the ones declared in the test config file. When a match
    is found, meaning the test is enabled, the dimensions declared in the config file are applied to the test function.
    """
    tests_config = metafunc.config.getoption("tests_config")
    test_collection_name = metafunc.definition.nodeid.split(os.path.sep)[0]
    test_name = metafunc.definition.nodeid.split(os.path.sep)[1]
    if test_collection_name in tests_config["test-suites"]:
        if test_name in tests_config["test-suites"][test_collection_name]:
            configured_dimensions_items = tests_config["test-suites"][test_collection_name][test_name]["dimensions"]
            argnames, argvalues = _get_combinations_of_dimensions_values(configured_dimensions_items)
            if argvalues:
                metafunc.parametrize(argnames, argvalues, scope="class")