Module: RuboCop::Cop::MinitestExplorationHelpers Private
- Extended by:
- NodePattern::Macros
- Includes:
- DefNode
- Included in:
- RuboCop::Cop::Minitest::AssertOutput, RuboCop::Cop::Minitest::AssertionInLifecycleHook, RuboCop::Cop::Minitest::DuplicateTestRun, RuboCop::Cop::Minitest::EmptyLineBeforeAssertionMethods, RuboCop::Cop::Minitest::LifecycleHooksOrder, RuboCop::Cop::Minitest::MultipleAssertions, RuboCop::Cop::Minitest::NoAssertions, RuboCop::Cop::Minitest::NoTestCases, RuboCop::Cop::Minitest::NonExecutableTestMethod, RuboCop::Cop::Minitest::NonPublicTestMethod, RuboCop::Cop::Minitest::ReturnInTestMethod, RuboCop::Cop::Minitest::TestFileName, RuboCop::Cop::Minitest::TestMethodName, RuboCop::Cop::Minitest::UnreachableAssertion
- Defined in:
- lib/rubocop/cop/mixin/minitest_exploration_helpers.rb
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