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 +1 -1
- data/README.md +128 -0
- data/lib/guard/test.rb +47 -9
- data/lib/guard/test.rbc +761 -157
- data/lib/guard/test/formatter.rbc +215 -91
- data/lib/guard/test/inspector.rb +13 -12
- data/lib/guard/test/inspector.rbc +126 -77
- data/lib/guard/test/notifier.rb +17 -0
- data/lib/guard/test/notifier.rbc +435 -0
- data/lib/guard/test/result_helpers.rb +28 -0
- data/lib/guard/test/result_helpers.rbc +798 -0
- data/lib/guard/test/runner.rb +46 -30
- data/lib/guard/test/runner.rbc +812 -494
- data/lib/guard/test/runners/{default_test_unit_runner.rb → default_guard_test_runner.rb} +19 -15
- data/lib/guard/test/runners/default_guard_test_runner.rbc +1471 -0
- data/lib/guard/test/runners/default_test_unit_runner.rbc +2 -2
- data/lib/guard/test/runners/{fastfail_test_unit_runner.rb → fastfail_guard_test_runner.rb} +11 -7
- data/lib/guard/test/runners/fastfail_guard_test_runner.rbc +614 -0
- data/lib/guard/test/runners/fastfail_test_unit_runner.rbc +1 -1
- data/lib/guard/test/templates/Guardfile +6 -6
- data/lib/guard/test/ui.rb +38 -0
- data/lib/guard/test/ui.rbc +1053 -0
- data/lib/guard/test/version.rb +2 -1
- data/lib/guard/test/version.rbc +6 -6
- metadata +49 -21
- data/README.rdoc +0 -89
- data/lib/guard/test/formatter.rb +0 -68
@@ -9,31 +9,54 @@ x
|
|
9
9
|
10
|
10
10
|
__script__
|
11
11
|
i
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
51
|
13
|
+
5
|
14
|
+
45
|
15
15
|
0
|
16
|
+
1
|
16
17
|
65
|
17
18
|
49
|
19
|
+
2
|
20
|
+
0
|
21
|
+
49
|
22
|
+
3
|
18
23
|
1
|
24
|
+
47
|
25
|
+
101
|
26
|
+
4
|
27
|
+
7
|
28
|
+
5
|
29
|
+
63
|
30
|
+
2
|
31
|
+
47
|
32
|
+
49
|
33
|
+
6
|
34
|
+
1
|
35
|
+
15
|
36
|
+
99
|
37
|
+
7
|
38
|
+
7
|
39
|
+
65
|
40
|
+
49
|
41
|
+
8
|
19
42
|
2
|
20
43
|
13
|
21
44
|
99
|
22
45
|
12
|
23
46
|
7
|
24
|
-
|
47
|
+
9
|
25
48
|
12
|
26
49
|
7
|
27
|
-
|
50
|
+
10
|
28
51
|
12
|
29
52
|
65
|
30
53
|
12
|
31
54
|
49
|
32
|
-
|
55
|
+
11
|
33
56
|
4
|
34
57
|
15
|
35
58
|
49
|
36
|
-
|
59
|
+
9
|
37
60
|
0
|
38
61
|
15
|
39
62
|
2
|
@@ -48,7 +71,26 @@ I
|
|
48
71
|
0
|
49
72
|
n
|
50
73
|
p
|
51
|
-
|
74
|
+
12
|
75
|
+
x
|
76
|
+
4
|
77
|
+
File
|
78
|
+
n
|
79
|
+
x
|
80
|
+
11
|
81
|
+
active_path
|
82
|
+
x
|
83
|
+
7
|
84
|
+
dirname
|
85
|
+
x
|
86
|
+
4
|
87
|
+
to_s
|
88
|
+
s
|
89
|
+
8
|
90
|
+
/../test
|
91
|
+
x
|
92
|
+
7
|
93
|
+
require
|
52
94
|
x
|
53
95
|
9
|
54
96
|
Formatter
|
@@ -384,7 +426,7 @@ x
|
|
384
426
|
duration_text
|
385
427
|
x
|
386
428
|
15
|
387
|
-
|
429
|
+
color_puts
|
388
430
|
x
|
389
431
|
1
|
390
432
|
>
|
@@ -405,19 +447,19 @@ p
|
|
405
447
|
I
|
406
448
|
-1
|
407
449
|
I
|
408
|
-
|
450
|
+
6
|
409
451
|
I
|
410
452
|
e
|
411
453
|
I
|
412
|
-
|
454
|
+
7
|
413
455
|
I
|
414
456
|
29
|
415
457
|
I
|
416
|
-
|
458
|
+
8
|
417
459
|
I
|
418
460
|
47
|
419
461
|
I
|
420
|
-
|
462
|
+
9
|
421
463
|
I
|
422
464
|
5c
|
423
465
|
x
|
@@ -561,19 +603,19 @@ p
|
|
561
603
|
I
|
562
604
|
-1
|
563
605
|
I
|
564
|
-
|
606
|
+
c
|
565
607
|
I
|
566
608
|
0
|
567
609
|
I
|
568
|
-
|
610
|
+
e
|
569
611
|
I
|
570
612
|
26
|
571
613
|
I
|
572
|
-
|
614
|
+
f
|
573
615
|
I
|
574
616
|
31
|
575
617
|
I
|
576
|
-
|
618
|
+
e
|
577
619
|
I
|
578
620
|
36
|
579
621
|
x
|
@@ -684,15 +726,15 @@ p
|
|
684
726
|
I
|
685
727
|
-1
|
686
728
|
I
|
687
|
-
|
729
|
+
13
|
688
730
|
I
|
689
731
|
e
|
690
732
|
I
|
691
|
-
|
733
|
+
14
|
692
734
|
I
|
693
735
|
20
|
694
736
|
I
|
695
|
-
|
737
|
+
15
|
696
738
|
I
|
697
739
|
30
|
698
740
|
x
|
@@ -769,11 +811,11 @@ p
|
|
769
811
|
I
|
770
812
|
-1
|
771
813
|
I
|
772
|
-
|
814
|
+
18
|
773
815
|
I
|
774
816
|
0
|
775
817
|
I
|
776
|
-
|
818
|
+
19
|
777
819
|
I
|
778
820
|
e
|
779
821
|
x
|
@@ -796,41 +838,41 @@ x
|
|
796
838
|
notify
|
797
839
|
i
|
798
840
|
37
|
799
|
-
|
841
|
+
44
|
842
|
+
43
|
800
843
|
0
|
801
|
-
1
|
802
844
|
43
|
803
|
-
|
845
|
+
1
|
804
846
|
20
|
805
847
|
0
|
806
848
|
44
|
807
849
|
43
|
808
|
-
|
850
|
+
2
|
809
851
|
80
|
810
852
|
49
|
811
|
-
|
853
|
+
3
|
812
854
|
1
|
813
855
|
13
|
814
856
|
7
|
815
|
-
|
857
|
+
4
|
816
858
|
7
|
817
|
-
|
859
|
+
5
|
818
860
|
64
|
819
861
|
49
|
820
|
-
|
862
|
+
6
|
821
863
|
2
|
822
864
|
15
|
823
865
|
13
|
824
866
|
7
|
825
|
-
|
867
|
+
7
|
826
868
|
20
|
827
869
|
1
|
828
870
|
49
|
829
|
-
|
871
|
+
6
|
830
872
|
2
|
831
873
|
15
|
832
874
|
49
|
833
|
-
|
875
|
+
8
|
834
876
|
2
|
835
877
|
11
|
836
878
|
I
|
@@ -843,11 +885,10 @@ I
|
|
843
885
|
2
|
844
886
|
n
|
845
887
|
p
|
846
|
-
|
888
|
+
9
|
847
889
|
x
|
848
890
|
5
|
849
891
|
Guard
|
850
|
-
n
|
851
892
|
x
|
852
893
|
8
|
853
894
|
Notifier
|
@@ -877,11 +918,11 @@ p
|
|
877
918
|
I
|
878
919
|
-1
|
879
920
|
I
|
880
|
-
|
921
|
+
1c
|
881
922
|
I
|
882
923
|
0
|
883
924
|
I
|
884
|
-
|
925
|
+
1d
|
885
926
|
I
|
886
927
|
25
|
887
928
|
x
|
@@ -897,14 +938,14 @@ x
|
|
897
938
|
image
|
898
939
|
x
|
899
940
|
16
|
900
|
-
|
941
|
+
color_print
|
901
942
|
M
|
902
943
|
1
|
903
944
|
n
|
904
945
|
n
|
905
946
|
x
|
906
947
|
16
|
907
|
-
|
948
|
+
color_print
|
908
949
|
i
|
909
950
|
66
|
910
951
|
23
|
@@ -1016,23 +1057,23 @@ p
|
|
1016
1057
|
I
|
1017
1058
|
-1
|
1018
1059
|
I
|
1019
|
-
|
1060
|
+
20
|
1020
1061
|
I
|
1021
1062
|
a
|
1022
1063
|
I
|
1023
|
-
|
1064
|
+
21
|
1024
1065
|
I
|
1025
1066
|
26
|
1026
1067
|
I
|
1027
|
-
|
1068
|
+
22
|
1028
1069
|
I
|
1029
1070
|
34
|
1030
1071
|
I
|
1031
|
-
|
1072
|
+
23
|
1032
1073
|
I
|
1033
1074
|
40
|
1034
1075
|
I
|
1035
|
-
|
1076
|
+
24
|
1036
1077
|
I
|
1037
1078
|
42
|
1038
1079
|
x
|
@@ -1048,14 +1089,14 @@ x
|
|
1048
1089
|
color_name
|
1049
1090
|
x
|
1050
1091
|
15
|
1051
|
-
|
1092
|
+
color_puts
|
1052
1093
|
M
|
1053
1094
|
1
|
1054
1095
|
n
|
1055
1096
|
n
|
1056
1097
|
x
|
1057
1098
|
15
|
1058
|
-
|
1099
|
+
color_puts
|
1059
1100
|
i
|
1060
1101
|
32
|
1061
1102
|
23
|
@@ -1106,7 +1147,7 @@ s
|
|
1106
1147
|
reset
|
1107
1148
|
x
|
1108
1149
|
16
|
1109
|
-
|
1150
|
+
color_print
|
1110
1151
|
x
|
1111
1152
|
7
|
1112
1153
|
Globals
|
@@ -1124,15 +1165,15 @@ p
|
|
1124
1165
|
I
|
1125
1166
|
-1
|
1126
1167
|
I
|
1127
|
-
|
1168
|
+
27
|
1128
1169
|
I
|
1129
1170
|
a
|
1130
1171
|
I
|
1131
|
-
|
1172
|
+
28
|
1132
1173
|
I
|
1133
1174
|
14
|
1134
1175
|
I
|
1135
|
-
|
1176
|
+
29
|
1136
1177
|
I
|
1137
1178
|
20
|
1138
1179
|
x
|
@@ -1219,11 +1260,11 @@ p
|
|
1219
1260
|
I
|
1220
1261
|
-1
|
1221
1262
|
I
|
1222
|
-
|
1263
|
+
2e
|
1223
1264
|
I
|
1224
1265
|
a
|
1225
1266
|
I
|
1226
|
-
|
1267
|
+
2f
|
1227
1268
|
I
|
1228
1269
|
1b
|
1229
1270
|
x
|
@@ -1383,11 +1424,11 @@ p
|
|
1383
1424
|
I
|
1384
1425
|
-1
|
1385
1426
|
I
|
1386
|
-
|
1427
|
+
32
|
1387
1428
|
I
|
1388
1429
|
a
|
1389
1430
|
I
|
1390
|
-
|
1431
|
+
33
|
1391
1432
|
I
|
1392
1433
|
4f
|
1393
1434
|
x
|
@@ -1409,7 +1450,7 @@ x
|
|
1409
1450
|
12
|
1410
1451
|
results_text
|
1411
1452
|
i
|
1412
|
-
|
1453
|
+
101
|
1413
1454
|
20
|
1414
1455
|
0
|
1415
1456
|
47
|
@@ -1418,31 +1459,101 @@ i
|
|
1418
1459
|
7
|
1419
1460
|
1
|
1420
1461
|
20
|
1462
|
+
0
|
1463
|
+
79
|
1464
|
+
83
|
1465
|
+
2
|
1466
|
+
9
|
1467
|
+
17
|
1468
|
+
1
|
1469
|
+
8
|
1470
|
+
20
|
1471
|
+
7
|
1472
|
+
3
|
1473
|
+
64
|
1474
|
+
47
|
1475
|
+
101
|
1476
|
+
0
|
1477
|
+
7
|
1478
|
+
4
|
1479
|
+
20
|
1421
1480
|
1
|
1422
1481
|
47
|
1423
1482
|
101
|
1424
1483
|
0
|
1425
1484
|
7
|
1485
|
+
5
|
1486
|
+
20
|
1487
|
+
1
|
1488
|
+
79
|
1489
|
+
83
|
1426
1490
|
2
|
1491
|
+
9
|
1492
|
+
42
|
1493
|
+
1
|
1494
|
+
8
|
1495
|
+
45
|
1496
|
+
7
|
1497
|
+
3
|
1498
|
+
64
|
1499
|
+
47
|
1500
|
+
101
|
1501
|
+
0
|
1502
|
+
7
|
1503
|
+
4
|
1427
1504
|
20
|
1428
1505
|
2
|
1429
1506
|
47
|
1430
1507
|
101
|
1431
1508
|
0
|
1432
1509
|
7
|
1433
|
-
|
1510
|
+
6
|
1434
1511
|
20
|
1512
|
+
2
|
1513
|
+
79
|
1514
|
+
83
|
1515
|
+
2
|
1516
|
+
9
|
1517
|
+
67
|
1518
|
+
1
|
1519
|
+
8
|
1520
|
+
70
|
1521
|
+
7
|
1435
1522
|
3
|
1523
|
+
64
|
1436
1524
|
47
|
1437
1525
|
101
|
1438
1526
|
0
|
1439
1527
|
7
|
1440
1528
|
4
|
1441
|
-
|
1529
|
+
20
|
1530
|
+
3
|
1531
|
+
47
|
1532
|
+
101
|
1533
|
+
0
|
1534
|
+
7
|
1535
|
+
7
|
1536
|
+
20
|
1537
|
+
3
|
1538
|
+
79
|
1539
|
+
83
|
1540
|
+
2
|
1541
|
+
9
|
1542
|
+
92
|
1543
|
+
1
|
1442
1544
|
8
|
1545
|
+
95
|
1546
|
+
7
|
1547
|
+
3
|
1548
|
+
64
|
1549
|
+
47
|
1550
|
+
101
|
1551
|
+
0
|
1552
|
+
63
|
1553
|
+
15
|
1443
1554
|
11
|
1444
1555
|
I
|
1445
|
-
|
1556
|
+
14
|
1446
1557
|
I
|
1447
1558
|
4
|
1448
1559
|
I
|
@@ -1451,34 +1562,43 @@ I
|
|
1451
1562
|
4
|
1452
1563
|
n
|
1453
1564
|
p
|
1454
|
-
|
1565
|
+
8
|
1455
1566
|
x
|
1456
1567
|
4
|
1457
1568
|
to_s
|
1458
1569
|
s
|
1459
|
-
|
1460
|
-
|
1570
|
+
5
|
1571
|
+
test
|
1572
|
+
x
|
1573
|
+
2
|
1574
|
+
==
|
1461
1575
|
s
|
1462
|
-
|
1463
|
-
asserts,
|
1576
|
+
1
|
1464
1577
|
s
|
1465
|
-
|
1466
|
-
|
1578
|
+
s
|
1579
|
+
2
|
1580
|
+
,
|
1467
1581
|
s
|
1468
1582
|
7
|
1469
|
-
|
1583
|
+
assert
|
1584
|
+
s
|
1585
|
+
5
|
1586
|
+
fail
|
1587
|
+
s
|
1588
|
+
6
|
1589
|
+
error
|
1470
1590
|
p
|
1471
1591
|
5
|
1472
1592
|
I
|
1473
1593
|
-1
|
1474
1594
|
I
|
1475
|
-
|
1595
|
+
36
|
1476
1596
|
I
|
1477
1597
|
0
|
1478
1598
|
I
|
1479
|
-
|
1599
|
+
37
|
1480
1600
|
I
|
1481
|
-
|
1601
|
+
65
|
1482
1602
|
x
|
1483
1603
|
78
|
1484
1604
|
/Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test/formatter.rb
|
@@ -1608,11 +1728,11 @@ p
|
|
1608
1728
|
I
|
1609
1729
|
-1
|
1610
1730
|
I
|
1611
|
-
|
1731
|
+
3a
|
1612
1732
|
I
|
1613
1733
|
e
|
1614
1734
|
I
|
1615
|
-
|
1735
|
+
3b
|
1616
1736
|
I
|
1617
1737
|
33
|
1618
1738
|
x
|
@@ -1745,23 +1865,23 @@ p
|
|
1745
1865
|
I
|
1746
1866
|
-1
|
1747
1867
|
I
|
1748
|
-
|
1868
|
+
3e
|
1749
1869
|
I
|
1750
1870
|
9
|
1751
1871
|
I
|
1752
|
-
|
1872
|
+
3f
|
1753
1873
|
I
|
1754
1874
|
19
|
1755
1875
|
I
|
1756
|
-
|
1876
|
+
40
|
1757
1877
|
I
|
1758
1878
|
23
|
1759
1879
|
I
|
1760
|
-
|
1880
|
+
41
|
1761
1881
|
I
|
1762
1882
|
37
|
1763
1883
|
I
|
1764
|
-
|
1884
|
+
43
|
1765
1885
|
I
|
1766
1886
|
3f
|
1767
1887
|
x
|
@@ -1783,55 +1903,55 @@ p
|
|
1783
1903
|
I
|
1784
1904
|
2
|
1785
1905
|
I
|
1786
|
-
|
1906
|
+
6
|
1787
1907
|
I
|
1788
1908
|
10
|
1789
1909
|
I
|
1790
|
-
|
1910
|
+
c
|
1791
1911
|
I
|
1792
1912
|
1e
|
1793
1913
|
I
|
1794
|
-
|
1914
|
+
13
|
1795
1915
|
I
|
1796
1916
|
2c
|
1797
1917
|
I
|
1798
|
-
|
1918
|
+
18
|
1799
1919
|
I
|
1800
1920
|
3a
|
1801
1921
|
I
|
1802
|
-
|
1922
|
+
1c
|
1803
1923
|
I
|
1804
1924
|
48
|
1805
1925
|
I
|
1806
|
-
|
1926
|
+
20
|
1807
1927
|
I
|
1808
1928
|
56
|
1809
1929
|
I
|
1810
|
-
|
1930
|
+
27
|
1811
1931
|
I
|
1812
1932
|
64
|
1813
1933
|
I
|
1814
|
-
|
1934
|
+
2c
|
1815
1935
|
I
|
1816
1936
|
68
|
1817
1937
|
I
|
1818
|
-
|
1938
|
+
2e
|
1819
1939
|
I
|
1820
1940
|
76
|
1821
1941
|
I
|
1822
|
-
|
1942
|
+
32
|
1823
1943
|
I
|
1824
1944
|
84
|
1825
1945
|
I
|
1826
|
-
|
1946
|
+
36
|
1827
1947
|
I
|
1828
1948
|
92
|
1829
1949
|
I
|
1830
|
-
|
1950
|
+
3a
|
1831
1951
|
I
|
1832
1952
|
a0
|
1833
1953
|
I
|
1834
|
-
|
1954
|
+
3e
|
1835
1955
|
I
|
1836
1956
|
ae
|
1837
1957
|
x
|
@@ -1843,13 +1963,17 @@ x
|
|
1843
1963
|
13
|
1844
1964
|
attach_method
|
1845
1965
|
p
|
1846
|
-
|
1966
|
+
5
|
1847
1967
|
I
|
1848
1968
|
0
|
1849
1969
|
I
|
1850
1970
|
1
|
1851
1971
|
I
|
1852
|
-
|
1972
|
+
17
|
1973
|
+
I
|
1974
|
+
4
|
1975
|
+
I
|
1976
|
+
33
|
1853
1977
|
x
|
1854
1978
|
78
|
1855
1979
|
/Users/remy/Development/Ruby/Gems/guard/guard-test/lib/guard/test/formatter.rb
|