Sha256: b62ccd4a817189822e5e09ad646e402ddf64230d44e30411653f60aa340d7324
Contents?: true
Size: 755 Bytes
Versions: 2
Compression:
Stored size: 755 Bytes
Contents
require "test/helper" require "test_belt/test_unit/runner" module TestBelt::TestUnit class RunnerTest < Test::Unit::TestCase context "TestBelt Test::Unit" do context "Runner" do subject { Runner.new "something" } should "be either a LeftRight runner or a Test::Unit Runner" do assert subject.kind_of?(::LeftRight::Runner) || subject.kind_of?(::Test::Unit::UI::Console::TestRunner) end should_have_instance_method :started, :finished end context "AutoRunner" do should "be overridden to use the TestBelt runner for it's runner" do assert_nothing_raised do ::Test::Unit::AutoRunner.new "something" end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
test-belt-0.2.1 | test/test_unit/runner_test.rb |
test-belt-0.2.0 | test/test_unit/runner_test.rb |