Spec-Zone.ru › Ruby / Minitest

class Minitest::Sprint

Runs (Get it? It’s fast!) your tests and makes it easier to rerun individual failures.

Public Class Methods

run (args = ARGV) Show source
# 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

Process and run minitest cmdline.

© Ryan Davis, seattle.rb
Licensed under the MIT License.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API