Created
August 29, 2010 05:45
-
-
Save nordringrayhide/556010 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'autotest/restart' # перезапускати процес при після зміни файла .autotest | |
require 'redgreen/autotest' # підфарбовування результатів тестів(потрібен гем redgreen) | |
require 'autotest/growl' # Інтеграція з системою сповіщень ОС | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor tmp log doc .swo .swp}.each do |exception| | |
autotest.add_exception(exception) | |
end | |
autotest.add_mapping %r%^test/factories/.*\.rb$% do |filename, match_data| | |
autotest.files_matching %r%^test/(unit|controllers|views|functional|integral)/.*_test\.rb$% | |
end | |
false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment