def METHOD_NAME(self, method):
    # TEST_WORKSPACE is automatically set by test package __init__.py .
    self.test_workspace = os.environ['TEST_WORKSPACE']
    self.codechecker_cfg = env.import_codechecker_cfg(self.test_workspace)
    test_class = self.__class__.__name__
    print('Running ' + test_class + ' tests in ' + self.test_workspace)
    # Get the CodeChecker cmd if needed for the tests.
    self._codechecker_cmd = env.codechecker_cmd()
    self.config_file_json = os.path.join(
        self.test_workspace, "codechecker.json")
    self.config_file_yaml = os.path.join(
        self.test_workspace, "codechecker.yaml")