lib/turn/command.rb in turn-0.9.0 vs lib/turn/command.rb in turn-0.9.1
- old
+ new
@@ -14,11 +14,10 @@
# --log log results to a file
# -n --name=PATTERN only run tests that match regexp PATTERN
# -c --case=PATTERN only run testcases that match regexp PATTERN
# -I --loadpath=PATHS add given PATHS to the $LOAD_PATH
# -r --requires=LIBS require given LIBS before running tests
- # -m --minitest Force use of MiniTest framework.
# -b --backtrace=INT Set the number of lines to show in backtrace.
#
# RUN MODES
# --normal run all tests in a single process [default]
# --solo run each test in a separate process
@@ -83,11 +82,10 @@
@matchcase = nil
@loadpath = []
@requires = []
@runmode = nil
@outmode = nil
- #@framework = RUBY_VERSION >= "1.9" ? :minitest : :testunit
@trace = nil
@natural = false
@ansi = nil
end
@@ -126,14 +124,10 @@
else
@matchcase = Regexp.new(pattern, Regexp::IGNORECASE)
end
end
- #opts.on('-m', '--minitest', "Force use of MiniTest framework") do
- # @framework = :minitest
- #end
-
opts.on('-b', '--backtrace', '--trace INT', "Limit the number of lines of backtrace.") do |int|
@trace = int
end
opts.on('--natural', "Show natualized test names.") do |bool|
@@ -240,10 +234,9 @@
c.tests = tests
c.runmode = runmode
c.format = outmode
c.pattern = pattern
c.matchcase = matchcase
- #c.framework = framework
c.trace = trace
c.natural = natural
c.ansi = ansi unless ansi.nil?
end