Class: Homebrew::TestBot::Test Private

Inherits:
Object
  • Object
show all
Includes:
Utils::Output::Mixin
Defined in:
test_bot/test.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Direct Known Subclasses

FormulaeDetect, Setup, TapSyntax, TestCleanup, TestFormulae

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utils::Output::Mixin

#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_deprecated, #pretty_disabled, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled

Instance Attribute Details

#stepsArray<Step> (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



23
24
25
# File 'test_bot/test.rb', line 23

def steps
  @steps
end

Instance Method Details

#failed_stepsArray<Step>

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



13
14
15
# File 'test_bot/test.rb', line 13

def failed_steps
  @steps.select(&:failed?)
end

#ignored_stepsArray<Step>

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



18
19
20
# File 'test_bot/test.rb', line 18

def ignored_steps
  @steps.select(&:ignored?)
end