Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #52 from stopdropandrew/minitest-skips
Mark skipped tests as skipped instead of failure
  • Loading branch information
nicksieger committed Feb 16, 2012
2 parents a6d1d8d + f2c3e6a commit 30aa3d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ci/reporter/minitest.rb
Expand Up @@ -211,7 +211,11 @@ def finish_case

def fault(fault, type = nil, meth = nil)
tc = @current_suite.testcases.last
tc.failures << Failure.new(fault, type, meth)
if :skip == type
tc.skipped = true
else
tc.failures << Failure.new(fault, type, meth)
end
end

end
Expand Down

0 comments on commit 30aa3d2

Please sign in to comment.