Module: RuboCop::Cop::MinitestExplorationHelpers Private

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Helper methods for different explorations against test files and test cases.

Constant Summary collapse

ASSERTION_PREFIXES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

%w[assert refute].freeze
LIFECYCLE_HOOK_METHODS_IN_ORDER =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

%i[
  before_setup
  setup
  after_setup
  before_teardown
  teardown
  after_teardown
].freeze
LIFECYCLE_HOOK_METHODS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

LIFECYCLE_HOOK_METHODS_IN_ORDER.to_set.freeze