Module: TestOutputParser
- Defined in:
- lib/test_output_parser.rb,
lib/test_output_parser/version.rb,
lib/test_output_parser/framework.rb,
lib/test_output_parser/framework/junit.rb,
lib/test_output_parser/framework/rspec.rb,
lib/test_output_parser/framework/test_unit.rb
Defined Under Namespace
Modules: Framework Classes: Summary
Constant Summary collapse
- VERSION =
'0.4.1'
Class Method Summary collapse
Class Method Details
.count(test_output) ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'lib/test_output_parser.rb', line 56 def self.count(test_output) summary = Summary.new test_output = test_output.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '') TestOutputParser::Framework::RSpec.count(test_output, summary) TestOutputParser::Framework::TestUnit.count(test_output, summary) TestOutputParser::Framework::JUnit.count(test_output, summary) summary.to_hash end |