Module: TestParser::Parser::Common

Included in:
MiniTest, RSpec
Defined in:
lib/test_parser/parser/common.rb

Instance Method Summary collapse

Instance Method Details

#build_testObject



7
8
9
# File 'lib/test_parser/parser/common.rb', line 7

def build_test
  TestInformation.new(parser_type, identification, snippet_source)
end

#parser_typeObject



11
12
13
# File 'lib/test_parser/parser/common.rb', line 11

def parser_type
  self.class.type
end