Class: Guard::Codeception::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/codeception/parser.rb

Instance Method Summary collapse

Instance Method Details

#parse(text) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/guard/codeception/parser.rb', line 5

def parse(text)
  {
      tests:      _get(text, 'tests'),
      failures:   _get(text, 'failures'),
      assertions: _get(text, 'assertions'),
      errors:     _get(text, 'errors')
  }
end