No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
teresa.gemspec

README.md

Teresa

Teresa is a Test Result Analyzer. Well, it's more of a Test Output Parser, but that doesn't make a great name. It takes the output from a test run and parses it into Ruby objects.

Supported formats:

Usage

require 'teresa'

# parse a string of test output
Teresa.parse(some_input) do |test|
  puts "#{test.name}: #{test.state}"
end

# parse a file
tests = Teresa.parse_file("result.xml")
puts "#{tests.size} tests found"