Module: MiniTest::Metadata

Included in:
Spec
Defined in:
lib/minitest/metadata/version.rb,
lib/minitest/metadata.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
File.read(File.expand_path("../../../../VERSION", __FILE__)).strip

Instance Method Summary collapse

Instance Method Details

#metadataObject

Returns Hash metadata for currently running test



41
42
43
# File 'lib/minitest/metadata.rb', line 41

def 
  self.class.[__name__] || {}
end