Sha256: 6cee6fc082c50d91e9dbac98391fa562dcaedbf7350f5b6c3d72f87416d42cda
Contents?: true
Size: 853 Bytes
Versions: 5
Compression:
Stored size: 853 Bytes
Contents
# Copyright (c) 2006-2012 Nick Sieger <nicksieger@gmail.com> # See the file LICENSE.txt included with the distribution for # software license details. $: << File.dirname(__FILE__) + "/../../.." require 'ci/reporter/test_unit' # Intercepts mediator creation in ruby-test < 2.1 module Test #:nodoc:all module Unit module UI module Console class TestRunner def create_mediator(suite) # swap in our custom mediator return CI::Reporter::TestUnit.new(suite) end end end end end end # Intercepts mediator creation in ruby-test >= 2.1 module Test #:nodoc:all module Unit module UI class TestRunner def setup_mediator # swap in our custom mediator @mediator = CI::Reporter::TestUnit.new(@suite) end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems