ci-reporter/ci_reporter

View on GitHub
acceptance/test_unit_example_test.rb

Summary

Maintainability
A
0 mins
Test Coverage
#--
# Copyright (c) 2006-2012 Nick Sieger <nicksieger@gmail.com>
# See the file LICENSE.txt included with the distribution for
# software license details.
#++

require 'test/unit'

class TestUnitExampleTestOne < Test::Unit::TestCase
  def test_one
    puts "Some <![CDATA[on stdout]]>"
    assert(false, "First failure")
  end
  def teardown
    raise "second failure"
  end
end

class TestUnitExampleTestTwo < Test::Unit::TestCase
  def test_two
    assert true
  end
end