zold-io/zold

View on GitHub
Guardfile

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

# Guardfile for Zold
guard :minitest, all_after_pass: false, all_on_start: false do
  # with Minitest::Unit
  watch(%r{^test/(.*)/?test_(.*)\.rb$})
  watch(%r{^lib/zold/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
  watch(%r{^test/test_helper\.rb$}) { 'test' }
end