Sha256: a48497377018887921a5ce146e6f9b706f737b0e16b32514855247f06c12f2ca

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

Stored size: 352 Bytes

Contents

# -*- ruby -*-

# This is an example of how to change the mappings of file that
# changed to tests to run for a project.

module Autotest::Fixtures
  Autotest.add_hook :initialize do  |at|
    at.test_mappings['^test/fixtures/(.*)s.yml'] = proc { |filename, matches|
      at.files_matching /test\/\w+\/#{matches[1]}(_\w+)?.*_test.rb$/
    }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ZenTest-3.5.1 lib/autotest/fixtures.rb
ZenTest-3.5.2 lib/autotest/fixtures.rb
ZenTest-3.6.0 lib/autotest/fixtures.rb
ZenTest-3.6.1 lib/autotest/fixtures.rb
ZenTest-3.7.0 lib/autotest/fixtures.rb
ZenTest-3.7.1 lib/autotest/fixtures.rb
ZenTest-3.7.2 lib/autotest/fixtures.rb
ZenTest-3.8.0 lib/autotest/fixtures.rb
ZenTest-3.9.0 lib/autotest/fixtures.rb
ZenTest-3.9.1 lib/autotest/fixtures.rb
ZenTest-3.9.2 lib/autotest/fixtures.rb
ZenTest-3.9.3 lib/autotest/fixtures.rb
ZenTest-3.10.0 lib/autotest/fixtures.rb