File: xml.rb

package info (click to toggle)
ruby-test-unit 3.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,280 kB
  • sloc: ruby: 15,493; makefile: 9
file content (15 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Test
  module Unit
    AutoRunner.register_runner(:xml) do |auto_runner|
      require 'test/unit/ui/xml/testrunner'
      Test::Unit::UI::XML::TestRunner
    end

    AutoRunner.setup_option do |auto_runner, opts|
      opts.on("--output-file-descriptor=FD", Integer,
              "Outputs to file descriptor FD") do |fd|
        auto_runner.runner_options[:output_file_descriptor] = fd
      end
    end
  end
end