def all_nil_mandatory_fields_for_target_type(target_type, code_module)
      fields = []

      variable_name = "#{target_type}_targets"

      unless code_module.instance_variable_get("@#{variable_name}")
        target_const_value = Generamba.const_get(target_type.upcase + '_TARGET_KEY')
        targets_const_value = Generamba.const_get(target_type.upcase + '_TARGETS_KEY')
        fields.push(target_const_value)
        fields.push(targets_const_value)
      end

      variable_name = "#{target_type}_file_path"
      file_path_const_value = Generamba.const_get(target_type.upcase + '_FILE_PATH_KEY')
      fields.push(file_path_const_value) unless code_module.instance_variable_get("@#{variable_name}")

      variable_name = "#{target_type}_group_path"
      group_path_const_value = Generamba.const_get(target_type.upcase + '_GROUP_PATH_KEY')
      fields.push(group_path_const_value) unless code_module.instance_variable_get("@#{variable_name}")

      fields
    end
Method which return all failure fields for target_type
@param target_type [String] "project" or "test"
@param code_module [CodeModule] The instance of CodeModule

@return [Array]