class Minitest::Runnable
Public Class Methods
inherited(klass)
click to toggle source
# File lib/rub/l/test.rb, line 34 def self.inherited klass ::L::Test.make_test klass @@rub_oldinherited.call klass end
rub_get_dependancies()
click to toggle source
Get tests dependencies.
@private
# File lib/rub/l/test.rb, line 63 def self.rub_get_dependancies @rub_deps || Set.new end
rub_require(d)
click to toggle source
Add a dependency
Add a dependency to the test. It will be available before the test is run.
@param d [Set<Pathname,String>,Array<Pathname,String>,Pathname,String]
The dependencies.
# File lib/rub/l/test.rb, line 52 def self.rub_require(d) d = R::Tool.make_set_paths d @rub_deps ||= Set.new @rub_deps.merge d end