Module: Minitest::Tagz::MinitestRunnerStrategy

Defined in:
lib/minitest/tagz.rb

Overview

The strategy for patching the Minitest run time

Defined Under Namespace

Modules: RunPatch, RunnableMethodsFilter

Class Method Summary collapse

Class Method Details

.patchObject



65
66
67
# File 'lib/minitest/tagz.rb', line 65

def patch
  ::Minitest.singleton_class.class_eval { prepend(RunPatch) }
end

.serialize(owner, test_name) ⇒ Object



9
10
11
# File 'lib/minitest/tagz.rb', line 9

def serialize(owner, test_name)
  "#{owner} >> #{test_name}"
end

.tag_mapObject



69
70
71
# File 'lib/minitest/tagz.rb', line 69

def tag_map
  @tag_map ||= {}
end