guard-test 0.3.0.rc4 → 0.3.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -10
- data/lib/guard/test/inspector.rb +6 -5
- data/lib/guard/test/inspector.rbc +109 -145
- data/lib/guard/test/runner.rb +2 -3
- data/lib/guard/test/runner.rbc +87 -104
- data/lib/guard/test/runners/default_guard_test_runner.rb +2 -2
- data/lib/guard/test/runners/default_guard_test_runner.rbc +31 -70
- data/lib/guard/test/runners/fastfail_guard_test_runner.rb +3 -2
- data/lib/guard/test/runners/fastfail_guard_test_runner.rbc +47 -75
- data/lib/guard/test/version.rb +1 -1
- data/lib/guard/test/version.rbc +1 -1
- data/lib/guard/test.rb +5 -2
- data/lib/guard/test.rbc +138 -86
- metadata +5 -3
data/lib/guard/test/runner.rbc
CHANGED
@@ -483,7 +483,7 @@ x
|
|
483
483
|
10
|
484
484
|
initialize
|
485
485
|
i
|
486
|
-
|
486
|
+
102
|
487
487
|
23
|
488
488
|
0
|
489
489
|
10
|
@@ -532,67 +532,59 @@ i
|
|
532
532
|
43
|
533
533
|
0
|
534
534
|
4
|
535
|
-
|
535
|
+
3
|
536
536
|
49
|
537
537
|
1
|
538
538
|
1
|
539
539
|
13
|
540
540
|
7
|
541
541
|
8
|
542
|
-
|
543
|
-
49
|
542
|
+
45
|
544
543
|
9
|
545
|
-
2
|
546
|
-
15
|
547
|
-
13
|
548
|
-
7
|
549
544
|
10
|
550
545
|
45
|
551
546
|
11
|
552
547
|
12
|
553
|
-
45
|
554
|
-
13
|
555
|
-
14
|
556
548
|
49
|
557
|
-
|
549
|
+
13
|
558
550
|
0
|
559
551
|
47
|
560
552
|
101
|
561
|
-
|
553
|
+
14
|
562
554
|
7
|
563
|
-
|
555
|
+
15
|
564
556
|
63
|
565
557
|
2
|
566
558
|
49
|
567
|
-
|
559
|
+
16
|
568
560
|
1
|
569
561
|
49
|
570
|
-
|
562
|
+
17
|
571
563
|
2
|
572
564
|
15
|
573
565
|
13
|
574
566
|
7
|
575
|
-
|
567
|
+
18
|
576
568
|
1
|
577
569
|
49
|
578
|
-
|
570
|
+
17
|
579
571
|
2
|
580
572
|
15
|
581
573
|
13
|
582
574
|
7
|
583
|
-
|
575
|
+
19
|
584
576
|
1
|
585
577
|
49
|
586
|
-
|
578
|
+
17
|
587
579
|
2
|
588
580
|
15
|
589
581
|
20
|
590
582
|
0
|
591
583
|
49
|
592
|
-
|
584
|
+
20
|
593
585
|
1
|
594
586
|
38
|
595
|
-
|
587
|
+
21
|
596
588
|
11
|
597
589
|
I
|
598
590
|
7
|
@@ -604,7 +596,7 @@ I
|
|
604
596
|
1
|
605
597
|
n
|
606
598
|
p
|
607
|
-
|
599
|
+
22
|
608
600
|
x
|
609
601
|
4
|
610
602
|
Hash
|
@@ -694,12 +686,6 @@ x
|
|
694
686
|
12
|
695
687
|
@runner_name
|
696
688
|
x
|
697
|
-
12
|
698
|
-
notification
|
699
|
-
x
|
700
|
-
3
|
701
|
-
[]=
|
702
|
-
x
|
703
689
|
7
|
704
690
|
bundler
|
705
691
|
x
|
@@ -724,6 +710,9 @@ x
|
|
724
710
|
exist?
|
725
711
|
x
|
726
712
|
3
|
713
|
+
[]=
|
714
|
+
x
|
715
|
+
3
|
727
716
|
rvm
|
728
717
|
x
|
729
718
|
3
|
@@ -735,7 +724,7 @@ x
|
|
735
724
|
8
|
736
725
|
@options
|
737
726
|
p
|
738
|
-
|
727
|
+
17
|
739
728
|
I
|
740
729
|
-1
|
741
730
|
I
|
@@ -747,13 +736,13 @@ b
|
|
747
736
|
I
|
748
737
|
2c
|
749
738
|
I
|
750
|
-
|
739
|
+
10
|
751
740
|
I
|
752
741
|
35
|
753
742
|
I
|
754
743
|
d
|
755
744
|
I
|
756
|
-
|
745
|
+
4f
|
757
746
|
I
|
758
747
|
e
|
759
748
|
I
|
@@ -761,19 +750,15 @@ I
|
|
761
750
|
I
|
762
751
|
f
|
763
752
|
I
|
764
|
-
|
753
|
+
5e
|
765
754
|
I
|
766
755
|
10
|
767
756
|
I
|
768
|
-
|
769
|
-
I
|
770
|
-
11
|
771
|
-
I
|
772
|
-
6b
|
757
|
+
63
|
773
758
|
I
|
774
759
|
c
|
775
760
|
I
|
776
|
-
|
761
|
+
66
|
777
762
|
x
|
778
763
|
75
|
779
764
|
/Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test/runner.rb
|
@@ -972,11 +957,11 @@ p
|
|
972
957
|
I
|
973
958
|
-1
|
974
959
|
I
|
975
|
-
|
960
|
+
13
|
976
961
|
I
|
977
962
|
e
|
978
963
|
I
|
979
|
-
|
964
|
+
14
|
980
965
|
I
|
981
966
|
1a
|
982
967
|
I
|
@@ -984,15 +969,15 @@ I
|
|
984
969
|
I
|
985
970
|
1b
|
986
971
|
I
|
987
|
-
|
972
|
+
16
|
988
973
|
I
|
989
974
|
3f
|
990
975
|
I
|
991
|
-
|
976
|
+
17
|
992
977
|
I
|
993
978
|
59
|
994
979
|
I
|
995
|
-
|
980
|
+
18
|
996
981
|
I
|
997
982
|
66
|
998
983
|
x
|
@@ -1097,19 +1082,19 @@ p
|
|
1097
1082
|
I
|
1098
1083
|
-1
|
1099
1084
|
I
|
1100
|
-
|
1085
|
+
1b
|
1101
1086
|
I
|
1102
1087
|
0
|
1103
1088
|
I
|
1104
|
-
|
1089
|
+
1c
|
1105
1090
|
I
|
1106
1091
|
7
|
1107
1092
|
I
|
1108
|
-
|
1093
|
+
1d
|
1109
1094
|
I
|
1110
1095
|
22
|
1111
1096
|
I
|
1112
|
-
|
1097
|
+
1c
|
1113
1098
|
I
|
1114
1099
|
23
|
1115
1100
|
I
|
@@ -1117,7 +1102,7 @@ I
|
|
1117
1102
|
I
|
1118
1103
|
24
|
1119
1104
|
I
|
1120
|
-
|
1105
|
+
1f
|
1121
1106
|
I
|
1122
1107
|
27
|
1123
1108
|
x
|
@@ -1240,15 +1225,15 @@ p
|
|
1240
1225
|
I
|
1241
1226
|
-1
|
1242
1227
|
I
|
1243
|
-
|
1228
|
+
22
|
1244
1229
|
I
|
1245
1230
|
0
|
1246
1231
|
I
|
1247
|
-
|
1232
|
+
23
|
1248
1233
|
I
|
1249
1234
|
7
|
1250
1235
|
I
|
1251
|
-
|
1236
|
+
25
|
1252
1237
|
I
|
1253
1238
|
19
|
1254
1239
|
I
|
@@ -1256,19 +1241,19 @@ I
|
|
1256
1241
|
I
|
1257
1242
|
1e
|
1258
1243
|
I
|
1259
|
-
|
1244
|
+
26
|
1260
1245
|
I
|
1261
1246
|
2b
|
1262
1247
|
I
|
1263
|
-
|
1248
|
+
28
|
1264
1249
|
I
|
1265
1250
|
2c
|
1266
1251
|
I
|
1267
|
-
|
1252
|
+
26
|
1268
1253
|
I
|
1269
1254
|
2f
|
1270
1255
|
I
|
1271
|
-
|
1256
|
+
27
|
1272
1257
|
I
|
1273
1258
|
38
|
1274
1259
|
I
|
@@ -1276,11 +1261,11 @@ I
|
|
1276
1261
|
I
|
1277
1262
|
3b
|
1278
1263
|
I
|
1279
|
-
|
1264
|
+
24
|
1280
1265
|
I
|
1281
1266
|
3f
|
1282
1267
|
I
|
1283
|
-
|
1268
|
+
23
|
1284
1269
|
I
|
1285
1270
|
40
|
1286
1271
|
I
|
@@ -1288,7 +1273,7 @@ I
|
|
1288
1273
|
I
|
1289
1274
|
41
|
1290
1275
|
I
|
1291
|
-
|
1276
|
+
2a
|
1292
1277
|
I
|
1293
1278
|
44
|
1294
1279
|
x
|
@@ -1313,7 +1298,7 @@ x
|
|
1313
1298
|
17
|
1314
1299
|
test_unit_command
|
1315
1300
|
i
|
1316
|
-
|
1301
|
+
268
|
1317
1302
|
35
|
1318
1303
|
0
|
1319
1304
|
19
|
@@ -1466,7 +1451,7 @@ i
|
|
1466
1451
|
153
|
1467
1452
|
1
|
1468
1453
|
8
|
1469
|
-
|
1454
|
+
209
|
1470
1455
|
20
|
1471
1456
|
1
|
1472
1457
|
7
|
@@ -1505,12 +1490,13 @@ i
|
|
1505
1490
|
1
|
1506
1491
|
7
|
1507
1492
|
25
|
1508
|
-
|
1509
|
-
|
1493
|
+
20
|
1494
|
+
0
|
1510
1495
|
7
|
1511
1496
|
26
|
1497
|
+
64
|
1512
1498
|
49
|
1513
|
-
|
1499
|
+
6
|
1514
1500
|
1
|
1515
1501
|
47
|
1516
1502
|
101
|
@@ -1537,10 +1523,10 @@ i
|
|
1537
1523
|
11
|
1538
1524
|
0
|
1539
1525
|
9
|
1540
|
-
|
1526
|
+
228
|
1541
1527
|
1
|
1542
1528
|
8
|
1543
|
-
|
1529
|
+
242
|
1544
1530
|
20
|
1545
1531
|
1
|
1546
1532
|
7
|
@@ -1575,7 +1561,7 @@ i
|
|
1575
1561
|
32
|
1576
1562
|
0
|
1577
1563
|
7
|
1578
|
-
|
1564
|
+
26
|
1579
1565
|
64
|
1580
1566
|
49
|
1581
1567
|
6
|
@@ -1591,7 +1577,7 @@ I
|
|
1591
1577
|
1
|
1592
1578
|
n
|
1593
1579
|
p
|
1594
|
-
|
1580
|
+
33
|
1595
1581
|
x
|
1596
1582
|
4
|
1597
1583
|
rvm?
|
@@ -1666,14 +1652,14 @@ x
|
|
1666
1652
|
11
|
1667
1653
|
expand_path
|
1668
1654
|
s
|
1669
|
-
|
1670
|
-
-e "
|
1671
|
-
x
|
1672
|
-
12
|
1673
|
-
notification
|
1655
|
+
7
|
1656
|
+
-e "%w[
|
1674
1657
|
s
|
1675
1658
|
1
|
1676
|
-
|
1659
|
+
|
1660
|
+
s
|
1661
|
+
22
|
1662
|
+
].each { |p| load p }"
|
1677
1663
|
M
|
1678
1664
|
1
|
1679
1665
|
p
|
@@ -1738,7 +1724,7 @@ p
|
|
1738
1724
|
I
|
1739
1725
|
0
|
1740
1726
|
I
|
1741
|
-
|
1727
|
+
3b
|
1742
1728
|
I
|
1743
1729
|
16
|
1744
1730
|
x
|
@@ -1761,23 +1747,20 @@ cli
|
|
1761
1747
|
x
|
1762
1748
|
7
|
1763
1749
|
compact
|
1764
|
-
s
|
1765
|
-
1
|
1766
|
-
|
1767
1750
|
p
|
1768
1751
|
41
|
1769
1752
|
I
|
1770
1753
|
-1
|
1771
1754
|
I
|
1772
|
-
|
1755
|
+
2f
|
1773
1756
|
I
|
1774
1757
|
0
|
1775
1758
|
I
|
1776
|
-
|
1759
|
+
30
|
1777
1760
|
I
|
1778
1761
|
5
|
1779
1762
|
I
|
1780
|
-
|
1763
|
+
31
|
1781
1764
|
I
|
1782
1765
|
2a
|
1783
1766
|
I
|
@@ -1785,7 +1768,7 @@ I
|
|
1785
1768
|
I
|
1786
1769
|
2b
|
1787
1770
|
I
|
1788
|
-
|
1771
|
+
32
|
1789
1772
|
I
|
1790
1773
|
4e
|
1791
1774
|
I
|
@@ -1793,7 +1776,7 @@ I
|
|
1793
1776
|
I
|
1794
1777
|
4f
|
1795
1778
|
I
|
1796
|
-
|
1779
|
+
33
|
1797
1780
|
I
|
1798
1781
|
60
|
1799
1782
|
I
|
@@ -1801,11 +1784,11 @@ I
|
|
1801
1784
|
I
|
1802
1785
|
67
|
1803
1786
|
I
|
1804
|
-
|
1787
|
+
33
|
1805
1788
|
I
|
1806
1789
|
6b
|
1807
1790
|
I
|
1808
|
-
|
1791
|
+
34
|
1809
1792
|
I
|
1810
1793
|
8e
|
1811
1794
|
I
|
@@ -1813,41 +1796,41 @@ I
|
|
1813
1796
|
I
|
1814
1797
|
8f
|
1815
1798
|
I
|
1816
|
-
|
1799
|
+
36
|
1817
1800
|
I
|
1818
1801
|
99
|
1819
1802
|
I
|
1820
|
-
|
1803
|
+
37
|
1821
1804
|
I
|
1822
1805
|
bb
|
1823
1806
|
I
|
1824
|
-
|
1807
|
+
38
|
1825
1808
|
I
|
1826
|
-
|
1809
|
+
d1
|
1827
1810
|
I
|
1828
1811
|
0
|
1829
1812
|
I
|
1830
|
-
|
1813
|
+
d2
|
1831
1814
|
I
|
1832
|
-
|
1815
|
+
3b
|
1833
1816
|
I
|
1834
|
-
|
1817
|
+
da
|
1835
1818
|
I
|
1836
|
-
|
1819
|
+
3c
|
1837
1820
|
I
|
1838
|
-
|
1821
|
+
f2
|
1839
1822
|
I
|
1840
1823
|
0
|
1841
1824
|
I
|
1842
|
-
|
1825
|
+
f3
|
1843
1826
|
I
|
1844
|
-
|
1827
|
+
3d
|
1845
1828
|
I
|
1846
|
-
|
1829
|
+
100
|
1847
1830
|
I
|
1848
|
-
|
1831
|
+
3f
|
1849
1832
|
I
|
1850
|
-
|
1833
|
+
10c
|
1851
1834
|
x
|
1852
1835
|
75
|
1853
1836
|
/Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test/runner.rb
|
@@ -1872,23 +1855,23 @@ a
|
|
1872
1855
|
I
|
1873
1856
|
1b
|
1874
1857
|
I
|
1875
|
-
|
1858
|
+
13
|
1876
1859
|
I
|
1877
1860
|
29
|
1878
1861
|
I
|
1879
|
-
|
1862
|
+
1b
|
1880
1863
|
I
|
1881
1864
|
37
|
1882
1865
|
I
|
1883
|
-
|
1866
|
+
22
|
1884
1867
|
I
|
1885
1868
|
45
|
1886
1869
|
I
|
1887
|
-
|
1870
|
+
2d
|
1888
1871
|
I
|
1889
1872
|
49
|
1890
1873
|
I
|
1891
|
-
|
1874
|
+
2f
|
1892
1875
|
I
|
1893
1876
|
57
|
1894
1877
|
x
|
@@ -45,7 +45,7 @@ class DefaultGuardTestRunner < Test::Unit::UI::Console::TestRunner
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def finished(elapsed_time)
|
48
|
-
Guard::TestNotifier.notify(@result, elapsed_time)
|
48
|
+
Guard::TestNotifier.notify(@result, elapsed_time)
|
49
49
|
nl;nl
|
50
50
|
@faults.each_with_index do |fault, index|
|
51
51
|
Guard::TestUI.color_puts("%3d) %s" % [index + 1, fault.long_display], :color => fault_color_name(fault))
|
@@ -61,4 +61,4 @@ class DefaultGuardTestRunner < Test::Unit::UI::Console::TestRunner
|
|
61
61
|
|
62
62
|
end
|
63
63
|
|
64
|
-
Test::Unit::AutoRunner
|
64
|
+
Test::Unit::AutoRunner.register_runner(:"guard-default") { |r| DefaultGuardTestRunner }
|