Class: Minitest::Sprint
- Inherits:
-
Object
- Object
- Minitest::Sprint
- Defined in:
- lib/minitest/sprint.rb
Overview
Runs (Get it? It’s fast!) your tests and makes it easier to rerun individual failures.
Defined Under Namespace
Classes: RakeReporter, SprintReporter
Class Method Summary collapse
-
.run(args = ARGV) ⇒ Object
Process and run minitest cmdline.
Class Method Details
.run(args = ARGV) ⇒ Object
Process and run minitest cmdline.
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/minitest/sprint.rb', line 19 def self.run args = ARGV if args.delete("--bisect") or args.delete("-b") then require_relative "bisect" return Minitest::Bisect.run ARGV end Minitest::PathExpander.new(args).process { |f| require "./#{f}" if File.file? f } end |