-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.infinity_test
49 lines (42 loc) · 1.08 KB
/
.infinity_test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
InfinityTest.setup do |config|
config.strategy = :ruby_default
config.test_framework = :rspec
config.notifications = :growl
end
# infinity_test do
# use :rubies => ['1.9.2', 'jruby', 'ree', 'rbx'], :gemset => 'infinity_test', :test_framework => :rspec
# Maybe with block is better ...
#
# use do
# rubies = %w(1.8.7 1.9.2 jruby ree rbx)
# gemset = 'infinity_test'
# test_framework = :rspec
# application_framework = :rails
# end
# heuristics do
# add '^lib/infinity_test/dependencies.rb' do |file|
# run :all => :files
# end
# end
# after(:all) do
# system('rake clean_without_verbose')
# end
# heuristics do
#
# add :dir => 'app/models' do |file|
# run_test :for => file
# end
#
# add %r%^(test|spec)/fixtures/(.*).yml$% do |file|
# run_test :for => file, :in_dir => "test"
# end
#
# application_library.watch :dir => 'app/models' do |file|
# run :test => "spec/models/"
# end
#
# watch(%r%^(test|spec)/fixtures/(.*).yml$%) do |m|
# "test/test_#{m[1]}.rb"
# end
# end
# end