guard-test 0.2.0 → 0.3.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Rémy Coutable
1
+ Copyright (c) 2010-2011 Rémy Coutable
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md ADDED
@@ -0,0 +1,128 @@
1
+ # Guard::Test [![Build Status](http://travis-ci.org/guard/guard-test.png)](http://travis-ci.org/guard/guard-test)
2
+
3
+ Test::Unit guard allows to automatically & intelligently launch tests when files are modified or created.
4
+
5
+ If you have any questions/issues about Guard or Guard::Test, please join us on our [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
6
+
7
+ ## Features
8
+
9
+ - Compatible with Test::Unit >= 2.2 and Minitest (Ruby 1.9).
10
+ - Auto-detection of the `turn` gem (notification is still missing though).
11
+ - Tested on Ruby 1.8.6, 1.8.7, 1.9.2, REE, Rubinius and JRuby.
12
+
13
+ ## Install
14
+
15
+ Please be sure to have [Guard](https://github.com/guard/guard) installed before continue.
16
+
17
+ If you're using Bundler, add it to your `Gemfile` (inside the `test` group):
18
+
19
+ ```ruby
20
+ gem 'guard-test'
21
+ ```
22
+
23
+ and run:
24
+
25
+ ```bash
26
+ $ bundle install
27
+ ```
28
+
29
+ or manually install the gem:
30
+
31
+ ```bash
32
+ $ gem install guard-test
33
+ ```
34
+
35
+ Add Guard definition to your `Guardfile` by running this command:
36
+
37
+ ```bash
38
+ $ guard init test
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ Please read [Guard usage doc](https://github.com/guard/guard#readme).
44
+
45
+ ## Guardfile
46
+
47
+ Guard::Test can be adapted to any kind of projects.
48
+
49
+ ### Standard Ruby project
50
+
51
+ ```ruby
52
+ guard 'test' do
53
+ watch(%r{lib/(.+)\.rb}) { |m| "test/#{m[1]}_test.rb" }
54
+ watch(%r{test/.+_test\.rb})
55
+ watch('test/test_helper.rb') { "test" }
56
+ end
57
+ ```
58
+
59
+ ### Ruby On Rails project
60
+
61
+ ```ruby
62
+ guard 'test' do
63
+ watch(%r{app/models/(.+)\.rb}) { |m| "test/unit/#{m[1]}_test.rb" }
64
+ watch(%r{app/controllers/(.+)\.rb}) { |m| "test/functional/#{m[1]}_test.rb" }
65
+ watch(%r{app/views/.+\.rb}) { "test/integration" }
66
+ watch(%r{lib/(.+)\.rb}) { |m| "test/#{m[1]}_test.rb" }
67
+ watch(%r{test/.+_test.rb})
68
+ watch('app/controllers/application_controller.rb') { ["test/functional", "test/integration"] }
69
+ watch('test/test_helper.rb') { "test" }
70
+ end
71
+ ```
72
+
73
+ Please read the [Guard documentation](https://github.com/guard/guard#readme) for more info about the Guardfile DSL.
74
+
75
+ ## Options
76
+
77
+ Guard::Test allows you to choose between two different runners (Guard::Test's runners are inherited from Test::Unit's console runner):
78
+
79
+ - `default`: Display tests results as they happen, with different chars (green `.` for pass, red `F` for fail, purple `E` for error)
80
+ and print failures/errors messages & backtraces when all the tests are finished. Obviously, this is the guard-test default.
81
+ - `fastfail`: Display tests results as they happen and print failures/errors messages & backtraces immediately.
82
+
83
+ Available options:
84
+
85
+ ```ruby
86
+ :rvm => ['1.8.7', '1.9.2'] # directly run your specs on multiple Rubies, default: nil
87
+ :bundler => false # don't use "bundle exec" to run the test command, default: true if a you have a Gemfile
88
+ :runner => 'fastfail' # default: 'default'
89
+ :cli => "-v" # pass arbitrary CLI arguments to the Ruby/Turn command that runs the tests, default: nil
90
+ :notification => false # don't display Growl (or Libnotify) notification after the specs are done running, default: true
91
+ :all_on_start => false # don't run all the tests at startup, default: true
92
+ :all_after_pass => false # don't run all tests after changed tests pass, default: true
93
+ :keep_failed => false # keep failed tests until them pass, default: true
94
+ ```
95
+
96
+ ### Note about the `:notification` option
97
+
98
+ If you don't want to use Growl or Libnotify with any of your guards, you can set a `GUARD_NOTIFY` environment variable to `false`.
99
+ You can do it by adding the following statement in you `.bashrc`/`.bash_profile`/`.zshrc`:
100
+
101
+ ```bash
102
+ export GUARD_NOTIFY=false
103
+ ```
104
+
105
+ ## Development
106
+
107
+ - Source hosted on GitHub: https://github.com/guard/guard-test
108
+ - Report issues/Questions/Feature requests on GitHub Issues: https://github.com/guard/guard-test/issues
109
+
110
+ Pull requests are very welcome!
111
+ Make sure your patches are well tested.
112
+ Please create a topic branch for every separate change you make.
113
+
114
+ ## Versioning
115
+
116
+ Guard::Test follows [Semantic Versioning](http://semver.org), both SemVer and SemVerTag.
117
+
118
+ ## Author
119
+
120
+ [Rémy Coutable](https://github.com/rymai)
121
+
122
+ ## Contributors
123
+
124
+ https://github.com/guard/guard-test/contributors
125
+
126
+ ## Kudos
127
+
128
+ Many thanks to [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) for creating the excellent Guard gem.
data/lib/guard/test.rb CHANGED
@@ -1,30 +1,68 @@
1
+ # encoding: utf-8
1
2
  require 'guard'
2
3
  require 'guard/guard'
3
4
 
5
+ # Thanks Aaron and Eric! http://redmine.ruby-lang.org/issues/show/3561
6
+ # Eric Hodel: "whenever you use a gem that replaces stdlib functionality you should use #gem before #require."
7
+ begin
8
+ require 'turn'
9
+ gem 'test-unit' if RUBY_VERSION >= '1.9'
10
+ rescue LoadError
11
+ gem 'test-unit'
12
+ end
13
+
14
+ require 'test/unit'
15
+
4
16
  module Guard
5
17
  class Test < Guard
6
18
 
7
19
  autoload :Runner, 'guard/test/runner'
8
20
  autoload :Inspector, 'guard/test/inspector'
9
21
 
22
+ def initialize(watchers=[], options={})
23
+ super
24
+ @options = {
25
+ :all_on_start => true,
26
+ :all_after_pass => true,
27
+ :keep_failed => true
28
+ }.update(options)
29
+ @last_failed = false
30
+ @failed_paths = []
31
+
32
+ @runner = Runner.new(options)
33
+ end
34
+
10
35
  def start
11
- Runner.set_test_unit_runner(options)
12
- UI.info "Guard::Test is running!"
36
+ ::Guard::UI.info("Guard::Test #{TestVersion::VERSION} is running!")
37
+ run_all if @options[:all_on_start]
13
38
  end
14
39
 
15
40
  def run_all
16
- clean_and_run(["test"], :message => "Running all tests")
41
+ passed = @runner.run(Inspector.clean(['test']), :message => 'Running all tests')
42
+
43
+ @failed_paths = [] if passed
44
+ @last_failed = !passed
17
45
  end
18
46
 
19
- def run_on_change(paths)
20
- clean_and_run(paths)
47
+ def reload
48
+ @failed_paths = []
21
49
  end
22
50
 
23
- private
51
+ def run_on_change(paths)
52
+ paths += @failed_paths if @options[:keep_failed]
53
+ passed = @runner.run(Inspector.clean(paths))
24
54
 
25
- def clean_and_run(paths, options={})
26
- paths = Inspector.clean(paths)
27
- Runner.run(paths, options) unless paths.empty?
55
+ if passed
56
+ # clean failed paths memory
57
+ @failed_paths -= paths if @options[:keep_failed]
58
+ # run all the tests if the changed tests failed, like autotest
59
+ run_all if @last_failed && @options[:all_after_pass]
60
+ else
61
+ # remember failed paths for the next change
62
+ @failed_paths += paths if @options[:keep_failed]
63
+ # track whether the changed tests failed for the next change
64
+ @last_failed = true
65
+ end
28
66
  end
29
67
 
30
68
  end
data/lib/guard/test.rbc CHANGED
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 10937318184790222022
2
+ 17831730954501249321
3
3
  x
4
4
  M
5
5
  1
@@ -9,7 +9,7 @@ x
9
9
  10
10
10
  __script__
11
11
  i
12
- 46
12
+ 134
13
13
  5
14
14
  7
15
15
  0
@@ -28,36 +28,124 @@ i
28
28
  1
29
29
  1
30
30
  15
31
- 99
31
+ 26
32
+ 93
33
+ 0
34
+ 15
35
+ 29
36
+ 59
37
+ 0
38
+ 5
32
39
  7
33
40
  3
34
- 65
41
+ 64
42
+ 47
35
43
  49
44
+ 1
45
+ 1
46
+ 15
47
+ 45
36
48
  4
49
+ 5
50
+ 7
51
+ 6
52
+ 64
53
+ 49
54
+ 7
55
+ 1
56
+ 9
57
+ 55
58
+ 5
59
+ 7
60
+ 8
61
+ 64
62
+ 47
63
+ 49
64
+ 9
65
+ 1
66
+ 8
67
+ 56
68
+ 1
69
+ 30
70
+ 8
71
+ 93
72
+ 26
73
+ 93
74
+ 1
75
+ 15
76
+ 24
77
+ 13
78
+ 45
79
+ 10
80
+ 11
81
+ 12
82
+ 49
83
+ 12
84
+ 1
85
+ 10
86
+ 76
87
+ 8
88
+ 88
89
+ 15
90
+ 5
91
+ 7
92
+ 8
93
+ 64
94
+ 47
95
+ 49
96
+ 9
97
+ 1
98
+ 25
99
+ 8
100
+ 93
101
+ 15
102
+ 92
103
+ 1
104
+ 27
105
+ 34
106
+ 92
107
+ 0
108
+ 27
109
+ 15
110
+ 5
111
+ 7
112
+ 13
113
+ 64
114
+ 47
115
+ 49
116
+ 1
117
+ 1
118
+ 15
119
+ 99
120
+ 7
121
+ 14
122
+ 65
123
+ 49
124
+ 15
37
125
  2
38
126
  13
39
127
  99
40
128
  12
41
129
  7
42
- 5
130
+ 16
43
131
  12
44
132
  7
45
- 6
133
+ 17
46
134
  12
47
135
  65
48
136
  12
49
137
  49
50
- 7
138
+ 18
51
139
  4
52
140
  15
53
141
  49
54
- 5
142
+ 16
55
143
  0
56
144
  15
57
145
  2
58
146
  11
59
147
  I
60
- 6
148
+ 8
61
149
  I
62
150
  0
63
151
  I
@@ -66,7 +154,7 @@ I
66
154
  0
67
155
  n
68
156
  p
69
- 8
157
+ 19
70
158
  s
71
159
  5
72
160
  guard
@@ -76,6 +164,35 @@ require
76
164
  s
77
165
  11
78
166
  guard/guard
167
+ s
168
+ 4
169
+ turn
170
+ x
171
+ 12
172
+ RUBY_VERSION
173
+ n
174
+ s
175
+ 3
176
+ 1.9
177
+ x
178
+ 2
179
+ >=
180
+ s
181
+ 9
182
+ test-unit
183
+ x
184
+ 3
185
+ gem
186
+ x
187
+ 9
188
+ LoadError
189
+ n
190
+ x
191
+ 3
192
+ ===
193
+ s
194
+ 9
195
+ test/unit
79
196
  x
80
197
  5
81
198
  Guard
@@ -157,7 +274,7 @@ x
157
274
  4
158
275
  Test
159
276
  i
160
- 84
277
+ 94
161
278
  5
162
279
  66
163
280
  5
@@ -224,15 +341,25 @@ i
224
341
  8
225
342
  4
226
343
  15
227
- 5
228
- 48
229
- 13
230
- 15
231
344
  99
232
345
  7
346
+ 13
347
+ 7
233
348
  14
349
+ 65
350
+ 67
351
+ 49
352
+ 7
353
+ 0
354
+ 49
355
+ 8
356
+ 4
357
+ 15
358
+ 99
234
359
  7
235
360
  15
361
+ 7
362
+ 16
236
363
  65
237
364
  67
238
365
  49
@@ -252,7 +379,7 @@ I
252
379
  0
253
380
  n
254
381
  p
255
- 16
382
+ 17
256
383
  x
257
384
  6
258
385
  Runner
@@ -269,89 +396,240 @@ s
269
396
  20
270
397
  guard/test/inspector
271
398
  x
272
- 5
273
- start
399
+ 10
400
+ initialize
274
401
  M
275
402
  1
276
403
  n
277
404
  n
278
405
  x
279
- 5
280
- start
406
+ 10
407
+ initialize
281
408
  i
282
- 20
283
- 45
409
+ 107
410
+ 23
411
+ 0
412
+ 10
413
+ 9
414
+ 35
415
+ 0
416
+ 19
284
417
  0
418
+ 15
419
+ 23
285
420
  1
286
- 5
287
- 48
288
- 2
421
+ 10
422
+ 23
423
+ 44
424
+ 43
425
+ 0
426
+ 78
289
427
  49
290
- 3
428
+ 1
429
+ 1
430
+ 19
291
431
  1
292
432
  15
293
- 45
433
+ 54
434
+ 89
435
+ 2
436
+ 15
437
+ 44
438
+ 43
439
+ 0
440
+ 4
441
+ 3
442
+ 49
443
+ 1
444
+ 1
445
+ 13
446
+ 7
447
+ 3
448
+ 2
449
+ 49
294
450
  4
451
+ 2
452
+ 15
453
+ 13
454
+ 7
295
455
  5
456
+ 2
457
+ 49
458
+ 4
459
+ 2
460
+ 15
461
+ 13
296
462
  7
297
463
  6
298
- 64
464
+ 2
465
+ 49
466
+ 4
467
+ 2
468
+ 15
469
+ 20
470
+ 1
299
471
  49
300
472
  7
301
473
  1
474
+ 38
475
+ 8
476
+ 15
477
+ 3
478
+ 38
479
+ 9
480
+ 15
481
+ 35
482
+ 0
483
+ 38
484
+ 10
485
+ 15
486
+ 45
302
487
  11
303
- I
488
+ 12
489
+ 13
490
+ 71
491
+ 13
492
+ 47
493
+ 9
494
+ 99
495
+ 47
496
+ 49
497
+ 14
498
+ 0
499
+ 13
500
+ 20
501
+ 1
502
+ 47
503
+ 49
304
504
  2
505
+ 1
506
+ 15
507
+ 8
508
+ 104
509
+ 20
510
+ 1
511
+ 49
512
+ 13
513
+ 1
514
+ 38
515
+ 15
516
+ 11
305
517
  I
306
- 0
518
+ 6
307
519
  I
308
- 0
520
+ 2
309
521
  I
310
522
  0
523
+ I
524
+ 2
311
525
  n
312
526
  p
313
- 8
527
+ 16
314
528
  x
315
- 6
316
- Runner
317
- n
529
+ 4
530
+ Hash
318
531
  x
319
- 7
320
- options
532
+ 16
533
+ new_from_literal
321
534
  x
322
- 20
323
- set_test_unit_runner
535
+ 10
536
+ initialize
324
537
  x
325
- 2
326
- UI
327
- n
328
- s
329
- 23
330
- Guard::Test is running!
538
+ 12
539
+ all_on_start
540
+ x
541
+ 3
542
+ []=
543
+ x
544
+ 14
545
+ all_after_pass
546
+ x
547
+ 11
548
+ keep_failed
549
+ x
550
+ 6
551
+ update
552
+ x
553
+ 8
554
+ @options
555
+ x
556
+ 12
557
+ @last_failed
558
+ x
559
+ 13
560
+ @failed_paths
561
+ x
562
+ 6
563
+ Runner
564
+ n
565
+ x
566
+ 3
567
+ new
568
+ x
569
+ 8
570
+ allocate
331
571
  x
332
- 4
333
- info
334
- p
335
572
  7
573
+ @runner
574
+ p
575
+ 23
336
576
  I
337
577
  -1
338
578
  I
339
- a
579
+ 16
340
580
  I
341
- 0
581
+ 17
342
582
  I
343
- b
583
+ 17
344
584
  I
345
- a
585
+ 1b
586
+ I
587
+ 1c
346
588
  I
347
- c
589
+ 24
348
590
  I
349
- 14
591
+ 19
592
+ I
593
+ 2c
594
+ I
595
+ 1a
596
+ I
597
+ 34
598
+ I
599
+ 1b
600
+ I
601
+ 3b
602
+ I
603
+ 1c
604
+ I
605
+ 40
606
+ I
607
+ 18
608
+ I
609
+ 43
610
+ I
611
+ 1d
612
+ I
613
+ 47
614
+ I
615
+ 1e
616
+ I
617
+ 4c
618
+ I
619
+ 20
620
+ I
621
+ 6b
350
622
  x
351
623
  68
352
624
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
353
625
  p
354
- 0
626
+ 2
627
+ x
628
+ 8
629
+ watchers
630
+ x
631
+ 7
632
+ options
355
633
  x
356
634
  17
357
635
  method_visibility
@@ -359,6 +637,130 @@ x
359
637
  15
360
638
  add_defn_method
361
639
  x
640
+ 5
641
+ start
642
+ M
643
+ 1
644
+ n
645
+ n
646
+ x
647
+ 5
648
+ start
649
+ i
650
+ 39
651
+ 44
652
+ 43
653
+ 0
654
+ 43
655
+ 1
656
+ 7
657
+ 2
658
+ 45
659
+ 3
660
+ 4
661
+ 43
662
+ 5
663
+ 47
664
+ 101
665
+ 6
666
+ 7
667
+ 7
668
+ 63
669
+ 3
670
+ 49
671
+ 8
672
+ 1
673
+ 15
674
+ 39
675
+ 9
676
+ 7
677
+ 10
678
+ 49
679
+ 11
680
+ 1
681
+ 9
682
+ 37
683
+ 5
684
+ 48
685
+ 12
686
+ 8
687
+ 38
688
+ 1
689
+ 11
690
+ I
691
+ 4
692
+ I
693
+ 0
694
+ I
695
+ 0
696
+ I
697
+ 0
698
+ n
699
+ p
700
+ 13
701
+ x
702
+ 5
703
+ Guard
704
+ x
705
+ 2
706
+ UI
707
+ s
708
+ 12
709
+ Guard::Test
710
+ x
711
+ 11
712
+ TestVersion
713
+ n
714
+ x
715
+ 7
716
+ VERSION
717
+ x
718
+ 4
719
+ to_s
720
+ s
721
+ 12
722
+ is running!
723
+ x
724
+ 4
725
+ info
726
+ x
727
+ 8
728
+ @options
729
+ x
730
+ 12
731
+ all_on_start
732
+ x
733
+ 2
734
+ []
735
+ x
736
+ 7
737
+ run_all
738
+ p
739
+ 9
740
+ I
741
+ -1
742
+ I
743
+ 23
744
+ I
745
+ 0
746
+ I
747
+ 24
748
+ I
749
+ 17
750
+ I
751
+ 25
752
+ I
753
+ 26
754
+ I
755
+ 0
756
+ I
757
+ 27
758
+ x
759
+ 68
760
+ /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
761
+ p
762
+ 0
763
+ x
362
764
  7
363
765
  run_all
364
766
  M
@@ -369,50 +771,91 @@ x
369
771
  7
370
772
  run_all
371
773
  i
372
- 28
373
- 5
374
- 7
774
+ 59
775
+ 39
375
776
  0
777
+ 45
778
+ 1
779
+ 2
780
+ 7
781
+ 3
376
782
  64
377
783
  35
378
784
  1
785
+ 49
786
+ 4
787
+ 1
379
788
  44
380
789
  43
381
- 1
790
+ 5
382
791
  79
383
792
  49
384
- 2
793
+ 6
385
794
  1
386
795
  13
387
796
  7
388
- 3
389
797
  7
390
- 4
798
+ 7
799
+ 8
391
800
  64
392
801
  49
393
- 5
802
+ 9
394
803
  2
395
804
  15
396
- 47
397
805
  49
398
- 6
806
+ 10
807
+ 2
808
+ 19
809
+ 0
810
+ 15
811
+ 20
812
+ 0
813
+ 9
814
+ 46
815
+ 35
816
+ 0
817
+ 38
818
+ 11
819
+ 8
820
+ 47
821
+ 1
822
+ 15
823
+ 20
824
+ 0
825
+ 10
826
+ 55
399
827
  2
828
+ 8
829
+ 56
830
+ 3
831
+ 38
832
+ 12
400
833
  11
401
834
  I
402
- 6
835
+ 7
403
836
  I
404
- 0
837
+ 1
405
838
  I
406
839
  0
407
840
  I
408
841
  0
409
842
  n
410
843
  p
844
+ 13
845
+ x
411
846
  7
847
+ @runner
848
+ x
849
+ 9
850
+ Inspector
851
+ n
412
852
  s
413
853
  4
414
854
  test
415
855
  x
856
+ 5
857
+ clean
858
+ x
416
859
  4
417
860
  Hash
418
861
  x
@@ -428,139 +871,215 @@ x
428
871
  3
429
872
  []=
430
873
  x
874
+ 3
875
+ run
876
+ x
431
877
  13
432
- clean_and_run
878
+ @failed_paths
879
+ x
880
+ 12
881
+ @last_failed
433
882
  p
434
- 5
883
+ 11
435
884
  I
436
885
  -1
437
886
  I
438
- f
887
+ 28
439
888
  I
440
889
  0
441
890
  I
442
- 10
891
+ 29
443
892
  I
444
- 1c
893
+ 24
894
+ I
895
+ 2b
896
+ I
897
+ 2f
898
+ I
899
+ 0
900
+ I
901
+ 30
902
+ I
903
+ 2c
904
+ I
905
+ 3b
445
906
  x
446
907
  68
447
908
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
448
909
  p
449
- 0
910
+ 1
450
911
  x
451
- 13
452
- run_on_change
912
+ 6
913
+ passed
914
+ x
915
+ 6
916
+ reload
453
917
  M
454
918
  1
455
919
  n
456
920
  n
457
921
  x
458
- 13
459
- run_on_change
922
+ 6
923
+ reload
460
924
  i
461
- 8
462
925
  5
463
- 20
926
+ 35
464
927
  0
465
- 47
466
- 49
928
+ 38
467
929
  0
468
- 1
469
930
  11
470
931
  I
471
- 3
472
- I
473
932
  1
474
933
  I
475
- 1
934
+ 0
476
935
  I
477
- 1
936
+ 0
937
+ I
938
+ 0
478
939
  n
479
940
  p
480
941
  1
481
942
  x
482
943
  13
483
- clean_and_run
944
+ @failed_paths
484
945
  p
485
946
  5
486
947
  I
487
948
  -1
488
949
  I
489
- 13
950
+ 2f
490
951
  I
491
952
  0
492
953
  I
493
- 14
954
+ 30
494
955
  I
495
- 8
956
+ 5
496
957
  x
497
958
  68
498
959
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
499
960
  p
500
- 1
501
- x
502
- 5
503
- paths
504
- x
505
- 7
506
- private
961
+ 0
507
962
  x
508
963
  13
509
- clean_and_run
964
+ run_on_change
510
965
  M
511
966
  1
512
967
  n
513
968
  n
514
969
  x
515
970
  13
516
- clean_and_run
971
+ run_on_change
517
972
  i
518
- 46
519
- 23
520
- 1
521
- 10
522
- 14
523
- 44
524
- 43
973
+ 110
974
+ 39
525
975
  0
526
- 78
527
- 49
976
+ 7
528
977
  1
978
+ 49
979
+ 2
529
980
  1
981
+ 9
530
982
  19
983
+ 20
984
+ 0
985
+ 39
986
+ 3
987
+ 81
988
+ 4
989
+ 19
990
+ 0
991
+ 8
992
+ 20
531
993
  1
532
994
  15
995
+ 39
996
+ 5
533
997
  45
534
- 2
535
- 3
998
+ 6
999
+ 7
536
1000
  20
537
1001
  0
538
1002
  49
539
- 4
1003
+ 8
1004
+ 1
1005
+ 49
1006
+ 9
540
1007
  1
541
1008
  19
542
- 0
1009
+ 1
543
1010
  15
544
1011
  20
1012
+ 1
1013
+ 9
1014
+ 85
1015
+ 39
545
1016
  0
1017
+ 7
1018
+ 1
546
1019
  49
547
- 5
1020
+ 2
1021
+ 1
1022
+ 9
1023
+ 60
1024
+ 39
1025
+ 3
1026
+ 20
1027
+ 0
1028
+ 82
1029
+ 10
1030
+ 38
1031
+ 3
1032
+ 8
1033
+ 61
1034
+ 1
1035
+ 15
1036
+ 39
1037
+ 11
1038
+ 13
1039
+ 9
1040
+ 75
1041
+ 15
1042
+ 39
548
1043
  0
1044
+ 7
1045
+ 12
1046
+ 49
1047
+ 2
1048
+ 1
549
1049
  9
550
- 35
1050
+ 82
1051
+ 5
1052
+ 48
1053
+ 13
1054
+ 8
1055
+ 83
551
1056
  1
552
1057
  8
553
- 45
554
- 45
555
- 6
556
- 7
557
- 20
1058
+ 109
1059
+ 39
558
1060
  0
559
- 20
1061
+ 7
560
1062
  1
561
1063
  49
1064
+ 2
1065
+ 1
1066
+ 9
1067
+ 104
1068
+ 39
1069
+ 3
1070
+ 20
1071
+ 0
1072
+ 81
1073
+ 4
1074
+ 38
1075
+ 3
562
1076
  8
1077
+ 105
1078
+ 1
1079
+ 15
563
1080
  2
1081
+ 38
1082
+ 11
564
1083
  11
565
1084
  I
566
1085
  5
@@ -569,16 +1088,28 @@ I
569
1088
  I
570
1089
  1
571
1090
  I
572
- 2
1091
+ 1
573
1092
  n
574
1093
  p
575
- 9
1094
+ 14
576
1095
  x
577
- 4
578
- Hash
1096
+ 8
1097
+ @options
579
1098
  x
580
- 16
581
- new_from_literal
1099
+ 11
1100
+ keep_failed
1101
+ x
1102
+ 2
1103
+ []
1104
+ x
1105
+ 13
1106
+ @failed_paths
1107
+ x
1108
+ 1
1109
+ +
1110
+ x
1111
+ 7
1112
+ @runner
582
1113
  x
583
1114
  9
584
1115
  Inspector
@@ -587,31 +1118,76 @@ x
587
1118
  5
588
1119
  clean
589
1120
  x
590
- 6
591
- empty?
592
- x
593
- 6
594
- Runner
595
- n
596
- x
597
1121
  3
598
1122
  run
599
- p
1123
+ x
1124
+ 1
1125
+ -
1126
+ x
1127
+ 12
1128
+ @last_failed
1129
+ x
1130
+ 14
1131
+ all_after_pass
1132
+ x
600
1133
  7
1134
+ run_all
1135
+ p
1136
+ 27
601
1137
  I
602
1138
  -1
603
1139
  I
604
- 19
1140
+ 33
605
1141
  I
606
- e
1142
+ 0
607
1143
  I
608
- 1a
1144
+ 34
609
1145
  I
610
- 19
1146
+ 14
611
1147
  I
612
- 1b
1148
+ 0
1149
+ I
1150
+ 15
1151
+ I
1152
+ 35
1153
+ I
1154
+ 25
1155
+ I
1156
+ 37
1157
+ I
1158
+ 29
1159
+ I
1160
+ 39
1161
+ I
1162
+ 3d
1163
+ I
1164
+ 0
1165
+ I
1166
+ 3e
613
1167
  I
614
- 2e
1168
+ 3b
1169
+ I
1170
+ 53
1171
+ I
1172
+ 0
1173
+ I
1174
+ 55
1175
+ I
1176
+ 3e
1177
+ I
1178
+ 69
1179
+ I
1180
+ 0
1181
+ I
1182
+ 6a
1183
+ I
1184
+ 40
1185
+ I
1186
+ 6d
1187
+ I
1188
+ 0
1189
+ I
1190
+ 6e
615
1191
  x
616
1192
  68
617
1193
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
@@ -621,40 +1197,40 @@ x
621
1197
  5
622
1198
  paths
623
1199
  x
624
- 7
625
- options
1200
+ 6
1201
+ passed
626
1202
  p
627
1203
  15
628
1204
  I
629
1205
  2
630
1206
  I
631
- 7
1207
+ 13
632
1208
  I
633
1209
  d
634
1210
  I
635
- 8
1211
+ 14
636
1212
  I
637
1213
  18
638
1214
  I
639
- a
1215
+ 16
640
1216
  I
641
1217
  26
642
1218
  I
643
- f
1219
+ 23
644
1220
  I
645
1221
  34
646
1222
  I
647
- 13
1223
+ 28
648
1224
  I
649
1225
  42
650
1226
  I
651
- 17
1227
+ 2f
652
1228
  I
653
- 46
1229
+ 50
654
1230
  I
655
- 19
1231
+ 33
656
1232
  I
657
- 54
1233
+ 5e
658
1234
  x
659
1235
  68
660
1236
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb
@@ -668,7 +1244,7 @@ p
668
1244
  I
669
1245
  2
670
1246
  I
671
- 5
1247
+ 11
672
1248
  I
673
1249
  1f
674
1250
  x
@@ -680,21 +1256,49 @@ x
680
1256
  13
681
1257
  attach_method
682
1258
  p
683
- 7
1259
+ 21
684
1260
  I
685
1261
  0
686
1262
  I
687
- 1
1263
+ 2
688
1264
  I
689
1265
  9
690
1266
  I
691
- 2
1267
+ 3
692
1268
  I
693
1269
  12
694
1270
  I
695
- 4
1271
+ 8
1272
+ I
1273
+ 22
1274
+ I
1275
+ 9
1276
+ I
1277
+ 38
1278
+ I
1279
+ 0
1280
+ I
1281
+ 40
1282
+ I
1283
+ a
1284
+ I
1285
+ 4d
1286
+ I
1287
+ b
1288
+ I
1289
+ 5d
1290
+ I
1291
+ 0
1292
+ I
1293
+ 61
1294
+ I
1295
+ e
1296
+ I
1297
+ 6a
1298
+ I
1299
+ 10
696
1300
  I
697
- 2e
1301
+ 86
698
1302
  x
699
1303
  68
700
1304
  /Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test.rb