def METHOD_NAME(self):
    """Setup the environment for the tests then start the server."""
    global TEST_WORKSPACE
    TEST_WORKSPACE = env.get_workspace('cppcheck')
    os.environ['TEST_WORKSPACE'] = TEST_WORKSPACE
    # Configuration options.
    codechecker_cfg = {
        'suppress_file': None,
        'skip_list_file': None,
        'check_env': env.test_env(TEST_WORKSPACE),
        'workspace': TEST_WORKSPACE,
        'checkers': [],
        'reportdir': os.path.join(TEST_WORKSPACE, 'reports'),
        'test_project': 'cppcheck'
    }
    # Start or connect to the running CodeChecker server and get connection
    # details.
    print("This test uses a CodeChecker server... connecting...")
    server_access = codechecker.start_or_get_server()
    server_access['viewer_product'] = 'cppcheck'
    codechecker.add_test_package_product(server_access, TEST_WORKSPACE)
    # Extend the checker configuration with the server access.
    codechecker_cfg.update(server_access)
    # Export the test configuration to the workspace.
    env.export_test_cfg(TEST_WORKSPACE,
                        {'codechecker_cfg': codechecker_cfg})