def all_test_failure_fields(code_module)
      return [] if !code_module.test_targets && !code_module.test_file_path && !code_module.test_group_path

      all_nil_mandatory_fields_for_target_type(TARGET_TYPE_TEST, code_module)
    end
Method which return all test failure fields
@param code_module [CodeModule] The instance of CodeModule

@return [Array]