Sha256: 85e32d5d759123b7efdc277b1f7e43200dcecde04589e59e563a5c4606cad8c8
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
require 'autotest' class Autotest::Testunit < Autotest def initialize super @test_mappings = { %r%^test/.*\.rb$% => proc { |filename, _| filename }, } end # Given the string filename as the path, determine # the corresponding tests for it, in an array. def tests_for_file(filename) super.select { |f| @files.has_key? f } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easystats-0.1.0 | autotest/testunit.rb |