rooibos-roku 4.6.0 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/framework/BaseTestSuite.bs +188 -5
- package/dist/lib/framework/TestRunner.bs +5 -0
- package/dist/lib/rooibos/TestGroup.js +68 -12
- package/dist/lib/rooibos/TestGroup.js.map +1 -1
- package/dist/lib/rooibos/Utils.js +1 -27
- package/dist/lib/rooibos/Utils.js.map +1 -1
- package/package.json +17 -15
- package/CHANGELOG.md +0 -382
|
@@ -1576,8 +1576,9 @@ namespace rooibos
|
|
|
1576
1576
|
end if
|
|
1577
1577
|
m.__stubId++
|
|
1578
1578
|
|
|
1579
|
-
if m.__stubId >
|
|
1580
|
-
? "ERROR ONLY
|
|
1579
|
+
if m.__stubId > 25
|
|
1580
|
+
? "ERROR ONLY 25 MOCKS PER TEST ARE SUPPORTED!! you're on # " ; m.__mockId
|
|
1581
|
+
? " Method was " ; methodName
|
|
1581
1582
|
return invalid
|
|
1582
1583
|
end if
|
|
1583
1584
|
|
|
@@ -1591,9 +1592,10 @@ namespace rooibos
|
|
|
1591
1592
|
target[methodName] = m["StubCallback" + id]
|
|
1592
1593
|
target.__stubs = m.stubs
|
|
1593
1594
|
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1595
|
+
' FIXME: add a log setting for this - and add better detection so that stubs know that they are colliding/don't exist/have correct sigs
|
|
1596
|
+
' if not isMethodPresent
|
|
1597
|
+
' ? "WARNING - stubbing call " ; methodName; " which did not exist on target object"
|
|
1598
|
+
' end if
|
|
1597
1599
|
else
|
|
1598
1600
|
? "ERROR - could not create Stub : method not found "; target ; "." ; methodName
|
|
1599
1601
|
end if
|
|
@@ -1601,6 +1603,58 @@ namespace rooibos
|
|
|
1601
1603
|
return fake
|
|
1602
1604
|
end function
|
|
1603
1605
|
|
|
1606
|
+
function expectCalled(invocation as dynamic, returnValue = invalid as dynamic, thrownError = invalid as dynamic) as object
|
|
1607
|
+
'mock function body - the plugin replaces this
|
|
1608
|
+
return invalid
|
|
1609
|
+
end function
|
|
1610
|
+
|
|
1611
|
+
function _expectCalled(target, methodName, expectedArgs = invalid, returnValue = invalid as dynamic, thrownError = invalid as dynamic) as object
|
|
1612
|
+
try
|
|
1613
|
+
mock = m.mock(target, methodName, 1, expectedArgs, returnValue, true)
|
|
1614
|
+
if thrownError <> invalid
|
|
1615
|
+
mock.toThrow(thrownError)
|
|
1616
|
+
end if
|
|
1617
|
+
catch error
|
|
1618
|
+
'bs:disable-next-line
|
|
1619
|
+
m.currentResult.fail("Setting up mock failed: " + error.message, m.currentAssertLineNumber)
|
|
1620
|
+
return false
|
|
1621
|
+
end try
|
|
1622
|
+
return false
|
|
1623
|
+
end function
|
|
1624
|
+
|
|
1625
|
+
function stubCall(invocation as dynamic, returnValue = invalid as dynamic) as object
|
|
1626
|
+
'mock function body - the plugin replaces this
|
|
1627
|
+
return invalid
|
|
1628
|
+
end function
|
|
1629
|
+
|
|
1630
|
+
function _stubCall(target, methodName, returnValue = invalid as dynamic) as object
|
|
1631
|
+
try
|
|
1632
|
+
return m.stub(target, methodName, returnValue, true)
|
|
1633
|
+
catch error
|
|
1634
|
+
'bs:disable-next-line
|
|
1635
|
+
m.currentResult.fail("Setting up mock failed: " + error.message, m.currentAssertLineNumber)
|
|
1636
|
+
return false
|
|
1637
|
+
end try
|
|
1638
|
+
return false
|
|
1639
|
+
end function
|
|
1640
|
+
|
|
1641
|
+
function expectNotCalled(invocation as dynamic) as object
|
|
1642
|
+
'mock function body - the plugin replaces this
|
|
1643
|
+
return invalid
|
|
1644
|
+
end function
|
|
1645
|
+
|
|
1646
|
+
function _expectNotCalled(target, methodName) as object
|
|
1647
|
+
try
|
|
1648
|
+
return m.mock(target, methodName, 0, invalid, invalid, true)
|
|
1649
|
+
catch error
|
|
1650
|
+
'bs:disable-next-line
|
|
1651
|
+
m.currentResult.fail("Setting up mock failed: " + error.message, m.currentAssertLineNumber)
|
|
1652
|
+
return false
|
|
1653
|
+
end try
|
|
1654
|
+
return false
|
|
1655
|
+
end function
|
|
1656
|
+
|
|
1657
|
+
|
|
1604
1658
|
' /**
|
|
1605
1659
|
' * @memberof module:BaseTestSuite
|
|
1606
1660
|
' * @name expectOnce
|
|
@@ -1833,9 +1887,11 @@ namespace rooibos
|
|
|
1833
1887
|
expectedArgsValues.push(defaultValue)
|
|
1834
1888
|
end if
|
|
1835
1889
|
end for
|
|
1890
|
+
'todo - make into a class
|
|
1836
1891
|
fake = {
|
|
1837
1892
|
id: id,
|
|
1838
1893
|
target: target,
|
|
1894
|
+
errorToThrow: invalid,
|
|
1839
1895
|
methodName: methodName,
|
|
1840
1896
|
returnValue: returnValue,
|
|
1841
1897
|
lineNumbers: lineNumbers,
|
|
@@ -1860,6 +1916,9 @@ namespace rooibos
|
|
|
1860
1916
|
'bs:disable-next-line
|
|
1861
1917
|
m.invocations++
|
|
1862
1918
|
|
|
1919
|
+
if m.errorToThrow <> invalid
|
|
1920
|
+
throw m.errorToThrow
|
|
1921
|
+
end if
|
|
1863
1922
|
'bs:disable-next-line
|
|
1864
1923
|
if type(m.returnValue) = "roAssociativeArray" and m.returnValue.doesExist("multiResult")
|
|
1865
1924
|
'bs:disable-next-line
|
|
@@ -1884,6 +1943,9 @@ namespace rooibos
|
|
|
1884
1943
|
return m.returnValue
|
|
1885
1944
|
end if
|
|
1886
1945
|
end function
|
|
1946
|
+
toThrow: function(error)
|
|
1947
|
+
m.errorToThrow = error
|
|
1948
|
+
end function
|
|
1887
1949
|
}
|
|
1888
1950
|
return fake
|
|
1889
1951
|
end function
|
|
@@ -2062,6 +2124,127 @@ namespace rooibos
|
|
|
2062
2124
|
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2063
2125
|
end function
|
|
2064
2126
|
|
|
2127
|
+
function stubCallback6(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2128
|
+
'bs:disable-next-line
|
|
2129
|
+
fake = m.__Stubs["6"]
|
|
2130
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2131
|
+
end function
|
|
2132
|
+
|
|
2133
|
+
function stubCallback7(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2134
|
+
'bs:disable-next-line
|
|
2135
|
+
fake = m.__Stubs["7"]
|
|
2136
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2137
|
+
end function
|
|
2138
|
+
|
|
2139
|
+
function stubCallback8(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2140
|
+
'bs:disable-next-line
|
|
2141
|
+
fake = m.__Stubs["8"]
|
|
2142
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2143
|
+
end function
|
|
2144
|
+
|
|
2145
|
+
function stubCallback9(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2146
|
+
'bs:disable-next-line
|
|
2147
|
+
fake = m.__Stubs["9"]
|
|
2148
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2149
|
+
end function
|
|
2150
|
+
|
|
2151
|
+
function stubCallback10(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2152
|
+
'bs:disable-next-line
|
|
2153
|
+
fake = m.__Stubs["10"]
|
|
2154
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2155
|
+
end function
|
|
2156
|
+
|
|
2157
|
+
function stubCallback11(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2158
|
+
'bs:disable-next-line
|
|
2159
|
+
fake = m.__Stubs["11"]
|
|
2160
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2161
|
+
end function
|
|
2162
|
+
|
|
2163
|
+
function stubCallback12(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2164
|
+
'bs:disable-next-line
|
|
2165
|
+
fake = m.__Stubs["12"]
|
|
2166
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2167
|
+
end function
|
|
2168
|
+
|
|
2169
|
+
function stubCallback13(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2170
|
+
'bs:disable-next-line
|
|
2171
|
+
fake = m.__Stubs["13"]
|
|
2172
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2173
|
+
end function
|
|
2174
|
+
|
|
2175
|
+
function stubCallback14(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2176
|
+
'bs:disable-next-line
|
|
2177
|
+
fake = m.__Stubs["14"]
|
|
2178
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2179
|
+
end function
|
|
2180
|
+
|
|
2181
|
+
function stubCallback15(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2182
|
+
'bs:disable-next-line
|
|
2183
|
+
fake = m.__Stubs["15"]
|
|
2184
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2185
|
+
end function
|
|
2186
|
+
|
|
2187
|
+
function stubCallback16(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2188
|
+
'bs:disable-next-line
|
|
2189
|
+
fake = m.__Stubs["16"]
|
|
2190
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2191
|
+
end function
|
|
2192
|
+
|
|
2193
|
+
function stubCallback17(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2194
|
+
'bs:disable-next-line
|
|
2195
|
+
fake = m.__Stubs["17"]
|
|
2196
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2197
|
+
end function
|
|
2198
|
+
|
|
2199
|
+
function stubCallback18(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2200
|
+
'bs:disable-next-line
|
|
2201
|
+
fake = m.__Stubs["18"]
|
|
2202
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2203
|
+
end function
|
|
2204
|
+
|
|
2205
|
+
function stubCallback19(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2206
|
+
'bs:disable-next-line
|
|
2207
|
+
fake = m.__Stubs["19"]
|
|
2208
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2209
|
+
end function
|
|
2210
|
+
|
|
2211
|
+
function stubCallback20(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2212
|
+
'bs:disable-next-line
|
|
2213
|
+
fake = m.__Stubs["20"]
|
|
2214
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2215
|
+
end function
|
|
2216
|
+
|
|
2217
|
+
function stubCallback21(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2218
|
+
'bs:disable-next-line
|
|
2219
|
+
fake = m.__Stubs["21"]
|
|
2220
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2221
|
+
end function
|
|
2222
|
+
|
|
2223
|
+
function stubCallback22(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2224
|
+
'bs:disable-next-line
|
|
2225
|
+
fake = m.__Stubs["22"]
|
|
2226
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2227
|
+
end function
|
|
2228
|
+
|
|
2229
|
+
function stubCallback23(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2230
|
+
'bs:disable-next-line
|
|
2231
|
+
fake = m.__Stubs["23"]
|
|
2232
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2233
|
+
end function
|
|
2234
|
+
|
|
2235
|
+
function stubCallback24(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2236
|
+
'bs:disable-next-line
|
|
2237
|
+
fake = m.__Stubs["24"]
|
|
2238
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2239
|
+
end function
|
|
2240
|
+
|
|
2241
|
+
function stubCallback25(arg1 = invalid, arg2 = invalid, arg3 = invalid, arg4 = invalid, arg5 = invalid, arg6 = invalid, arg7 = invalid, arg8 = invalid, arg9 = invalid, arg10 = invalid, arg11 = invalid, arg12 = invalid, arg13 = invalid, arg14 = invalid, arg15 = invalid) as dynamic
|
|
2242
|
+
'bs:disable-next-line
|
|
2243
|
+
fake = m.__Stubs["25"]
|
|
2244
|
+
return fake.callback(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15)
|
|
2245
|
+
end function
|
|
2246
|
+
|
|
2247
|
+
|
|
2065
2248
|
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
2066
2249
|
'++ Fake Mock callback functions - this is required to get scope
|
|
2067
2250
|
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
@@ -51,6 +51,7 @@ namespace rooibos
|
|
|
51
51
|
failedText = ""
|
|
52
52
|
i = 0
|
|
53
53
|
numSuites = suiteNames.count()
|
|
54
|
+
testSuite = invalid
|
|
54
55
|
for each name in suiteNames
|
|
55
56
|
i++
|
|
56
57
|
'bs:disable-next-line
|
|
@@ -90,6 +91,10 @@ namespace rooibos
|
|
|
90
91
|
testSuite.scene.statusColor = "#238636"
|
|
91
92
|
end if
|
|
92
93
|
|
|
94
|
+
if testSuite = invalid
|
|
95
|
+
m.nodeContext.global.testsScene.failedText = "No tests were found"
|
|
96
|
+
end if
|
|
97
|
+
|
|
93
98
|
m.stats.time = timer.totalMilliseconds()
|
|
94
99
|
|
|
95
100
|
m.testReporter.reportResults(m.stats)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TestGroup = void 0;
|
|
4
4
|
const brighterscript_1 = require("brighterscript");
|
|
5
|
+
const brighterscript = require("brighterscript");
|
|
5
6
|
const BrsTranspileState_1 = require("brighterscript/dist/parser/BrsTranspileState");
|
|
6
7
|
const Diagnostics_1 = require("../utils/Diagnostics");
|
|
7
8
|
const RawCodeStatement_1 = require("./RawCodeStatement");
|
|
@@ -41,23 +42,32 @@ class TestGroup extends TestSuite_1.TestBlock {
|
|
|
41
42
|
const transpileState = new BrsTranspileState_1.BrsTranspileState(this.file);
|
|
42
43
|
try {
|
|
43
44
|
let func = this.testSuite.classStatement.methods.find((m) => m.name.text.toLowerCase() === testCase.funcName.toLowerCase());
|
|
44
|
-
func.walk(
|
|
45
|
-
ExpressionStatement: (
|
|
46
|
-
let
|
|
47
|
-
if (
|
|
48
|
-
let dge =
|
|
49
|
-
let assertRegex = /(?:fail|assert(?:[a-z0-9]*)|expect(?:[a-z0-9]*))/i;
|
|
45
|
+
func.walk(brighterscript.createVisitor({
|
|
46
|
+
ExpressionStatement: (expressionStatement) => {
|
|
47
|
+
let callExpression = expressionStatement.expression;
|
|
48
|
+
if (brighterscript.isCallExpression(callExpression) && brighterscript.isDottedGetExpression(callExpression.callee)) {
|
|
49
|
+
let dge = callExpression.callee;
|
|
50
|
+
let assertRegex = /(?:fail|assert(?:[a-z0-9]*)|expect(?:[a-z0-9]*)|stubCall)/i;
|
|
50
51
|
if (dge && assertRegex.test(dge.name.text)) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
if (dge.name.text === 'stubCall') {
|
|
53
|
+
this.modifyModernRooibosExpectCallExpression(callExpression);
|
|
54
|
+
return expressionStatement;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
if (dge.name.text === 'expectCalled' || dge.name.text === 'expectNotCalled') {
|
|
58
|
+
this.modifyModernRooibosExpectCallExpression(callExpression);
|
|
59
|
+
}
|
|
60
|
+
return new RawCodeStatement_1.RawCodeStatement(`
|
|
61
|
+
m.currentAssertLineNumber = ${callExpression.range.start.line}
|
|
62
|
+
${callExpression.transpile(transpileState).join('')}
|
|
63
|
+
${noEarlyExit ? '' : 'if m.currentResult.isFail then return invalid'}
|
|
64
|
+
`, this.file, callExpression.range);
|
|
65
|
+
}
|
|
56
66
|
}
|
|
57
67
|
}
|
|
58
68
|
}
|
|
59
69
|
}), {
|
|
60
|
-
walkMode:
|
|
70
|
+
walkMode: brighterscript.WalkMode.visitStatementsRecursive
|
|
61
71
|
});
|
|
62
72
|
}
|
|
63
73
|
catch (e) {
|
|
@@ -65,6 +75,52 @@ class TestGroup extends TestSuite_1.TestBlock {
|
|
|
65
75
|
Diagnostics_1.diagnosticErrorProcessingFile(this.testSuite.file, e.message);
|
|
66
76
|
}
|
|
67
77
|
}
|
|
78
|
+
modifyModernRooibosExpectCallExpression(callExpression) {
|
|
79
|
+
let isNotCalled = false;
|
|
80
|
+
let isStubCall = false;
|
|
81
|
+
if (brighterscript_1.isDottedGetExpression(callExpression.callee)) {
|
|
82
|
+
const nameText = callExpression.callee.name.text;
|
|
83
|
+
callExpression.callee.name.text = `_${nameText}`;
|
|
84
|
+
isNotCalled = nameText === 'expectNotCalled';
|
|
85
|
+
isStubCall = nameText === 'stubCall';
|
|
86
|
+
}
|
|
87
|
+
//modify args
|
|
88
|
+
let arg0 = callExpression.args[0];
|
|
89
|
+
if (brighterscript.isCallExpression(arg0) && brighterscript_1.isDottedGetExpression(arg0.callee)) {
|
|
90
|
+
let functionName = arg0.callee.name.text;
|
|
91
|
+
callExpression.args.shift();
|
|
92
|
+
if (!isNotCalled && !isStubCall) {
|
|
93
|
+
const expectedArgs = new brighterscript_1.ArrayLiteralExpression(arg0.args, brighterscript_1.createToken(brighterscript_1.TokenKind.LeftSquareBracket), brighterscript_1.createToken(brighterscript_1.TokenKind.RightSquareBracket));
|
|
94
|
+
callExpression.args.unshift(expectedArgs);
|
|
95
|
+
}
|
|
96
|
+
callExpression.args.unshift(brighterscript_1.createStringLiteral(functionName));
|
|
97
|
+
callExpression.args.unshift(arg0.callee.obj);
|
|
98
|
+
}
|
|
99
|
+
else if (brighterscript.isDottedGetExpression(arg0)) {
|
|
100
|
+
let functionName = arg0.name.text;
|
|
101
|
+
arg0 = callExpression.args.shift();
|
|
102
|
+
if (!isNotCalled && !isStubCall) {
|
|
103
|
+
callExpression.args.unshift(brighterscript_1.createInvalidLiteral());
|
|
104
|
+
}
|
|
105
|
+
callExpression.args.unshift(brighterscript_1.createStringLiteral(functionName));
|
|
106
|
+
callExpression.args.unshift(arg0.obj);
|
|
107
|
+
}
|
|
108
|
+
else if (brighterscript.isCallfuncExpression(arg0)) {
|
|
109
|
+
let functionName = arg0.methodName.text;
|
|
110
|
+
callExpression.args.shift();
|
|
111
|
+
if (isNotCalled || isStubCall) {
|
|
112
|
+
//TODO in future we can improve is notCalled to know which callFunc function it is
|
|
113
|
+
// const expectedArgs = new ArrayLiteralExpression([createStringLiteral(functionName)], createToken(TokenKind.LeftSquareBracket), createToken(TokenKind.RightSquareBracket));
|
|
114
|
+
// callExpression.args.unshift(expectedArgs);
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
const expectedArgs = new brighterscript_1.ArrayLiteralExpression([brighterscript_1.createStringLiteral(functionName), ...arg0.args], brighterscript_1.createToken(brighterscript_1.TokenKind.LeftSquareBracket), brighterscript_1.createToken(brighterscript_1.TokenKind.RightSquareBracket));
|
|
118
|
+
callExpression.args.unshift(expectedArgs);
|
|
119
|
+
}
|
|
120
|
+
callExpression.args.unshift(brighterscript_1.createStringLiteral('callFunc'));
|
|
121
|
+
callExpression.args.unshift(arg0.callee);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
68
124
|
asText() {
|
|
69
125
|
let testCaseText = [...this.testCases.values()].filter((tc) => tc.isIncluded).map((tc) => tc.asText());
|
|
70
126
|
return `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestGroup.js","sourceRoot":"","sources":["../../../src/lib/rooibos/TestGroup.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"TestGroup.js","sourceRoot":"","sources":["../../../src/lib/rooibos/TestGroup.ts"],"names":[],"mappings":";;;AACA,mDAAkJ;AAClJ,iDAAiD;AACjD,oFAAiF;AAEjF,sDAAqE;AAErE,yDAAsD;AAGtD,2CAAwC;AACxC,mCAA+C;AAE/C,MAAa,SAAU,SAAQ,qBAAS;IAEpC,YAAY,SAAoB,EAAE,UAA6B;QAC3D,KAAK,CAAC,UAAU,CAAC,CAAC;QASf,cAAS,GAAG,IAAI,GAAG,EAAoB,CAAC;QACxC,qBAAgB,GAAe,EAAE,CAAC;QAClC,kBAAa,GAAe,EAAE,CAAC;QAVlC,IAAI,CAAC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cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;aAC7C;YACD,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,oCAAmB,CAAC,UAAU,CAAC,CAAC,CAAC;YAC7D,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAC5C;IACL,CAAC;IAEM,MAAM;QACT,IAAI,YAAY,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAEvG,OAAO;;wBAES,4BAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;0BAC7B,IAAI,CAAC,MAAM;6BACR,IAAI,CAAC,SAAS;6BACd,IAAI,CAAC,OAAO;+BACV,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;sCACpC,IAAI,CAAC,iBAAiB,IAAI,EAAE;yCACzB,IAAI,CAAC,oBAAoB,IAAI,EAAE;2CAC7B,IAAI,CAAC,sBAAsB,IAAI,EAAE;0CAClC,IAAI,CAAC,qBAAqB,IAAI,EAAE;8BAC5C,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;cACxC,CAAC;IACX,CAAC;CAEJ;AAzID,8BAyIC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getTokenText = exports.createVarExpression = exports.createIfStatement = exports.sanitizeBsJsonString = exports.changeClassMethodBody = exports.addOverriddenMethod = exports.changeFunctionBody = exports.getFunctionBody = exports.makeASTFunction = exports.pad = exports.addSetItems = exports.getRegexMatchValue = exports.getRegexMatchesValues = exports.spliceString = void 0;
|
|
4
4
|
const brighterscript_1 = require("brighterscript");
|
|
5
5
|
const brighterscript = require("brighterscript");
|
|
6
|
-
const rokuDeploy = require("roku-deploy");
|
|
7
6
|
const Diagnostics_1 = require("../utils/Diagnostics");
|
|
8
7
|
function spliceString(str, index, count, add) {
|
|
9
8
|
// We cannot pass negative indexes directly to the 2nd slicing operation.
|
|
@@ -146,29 +145,4 @@ function getTokenText(operator) {
|
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
exports.getTokenText = getTokenText;
|
|
149
|
-
/**
|
|
150
|
-
* A tagged template literal function for standardizing the path. This has to be defined as standalone function since it's a tagged template literal function,
|
|
151
|
-
* we can't use `object.tag` syntax.
|
|
152
|
-
*/
|
|
153
|
-
function standardizePath(stringParts, ...expressions) {
|
|
154
|
-
let result = [];
|
|
155
|
-
for (let i = 0; i < stringParts.length; i++) {
|
|
156
|
-
result.push(stringParts[i], expressions[i]);
|
|
157
|
-
}
|
|
158
|
-
return driveLetterToLower(rokuDeploy.standardizePath(result.join('')));
|
|
159
|
-
}
|
|
160
|
-
exports.standardizePath = standardizePath;
|
|
161
|
-
function driveLetterToLower(fullPath) {
|
|
162
|
-
if (fullPath) {
|
|
163
|
-
let firstCharCode = fullPath.charCodeAt(0);
|
|
164
|
-
if (
|
|
165
|
-
//is upper case A-Z
|
|
166
|
-
firstCharCode >= 65 && firstCharCode <= 90 &&
|
|
167
|
-
//next char is colon
|
|
168
|
-
fullPath[1] === ':') {
|
|
169
|
-
fullPath = fullPath[0].toLowerCase() + fullPath.substring(1);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
return fullPath;
|
|
173
|
-
}
|
|
174
148
|
//# sourceMappingURL=Utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../src/lib/rooibos/Utils.ts"],"names":[],"mappings":";;;AACA,mDAA0D;AAC1D,iDAAiD;
|
|
1
|
+
{"version":3,"file":"Ut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OAAO,IAAI,cAAc,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAND,kDAMC;AAED,SAAgB,YAAY,CAAC,QAAkC;IAC3D,QAAQ,QAAQ,EAAE;QACd,KAAK,cAAc,CAAC,SAAS,CAAC,KAAK;YAC/B,OAAO,GAAG,CAAC;QACf,KAAK,cAAc,CAAC,SAAS,CAAC,IAAI;YAC9B,OAAO,GAAG,CAAC;QACf,KAAK,cAAc,CAAC,SAAS,CAAC,KAAK;YAC/B,OAAO,GAAG,CAAC;QACf,KAAK,cAAc,CAAC,SAAS,CAAC,IAAI;YAC9B,OAAO,GAAG,CAAC;QACf,KAAK,cAAc,CAAC,SAAS,CAAC,OAAO;YACjC,OAAO,GAAG,CAAC;QACf;YACI,OAAO,EAAE,CAAC;KACjB;AACL,CAAC;AAfD,oCAeC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rooibos-roku",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "simple, flexible, fun brightscript test framework for roku scenegraph apps - roku brighterscript plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,49 +14,47 @@
|
|
|
14
14
|
"test": "test"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@types/node": "^14.14.16",
|
|
18
17
|
"source-map": "^0.7.3",
|
|
19
|
-
"stringify-object": "^3.3.0",
|
|
20
18
|
"vscode-languageserver": "~6.1.1",
|
|
21
19
|
"vscode-languageserver-protocol": "~3.15.3"
|
|
22
20
|
},
|
|
23
21
|
"devDependencies": {
|
|
24
22
|
"@types/chai": "^4.1.2",
|
|
25
|
-
"@types/
|
|
23
|
+
"@types/events": "^3.0.0",
|
|
26
24
|
"@types/fs-extra": "^5.0.1",
|
|
27
|
-
"@types/mocha": "^
|
|
28
|
-
"@types/
|
|
25
|
+
"@types/mocha": "^9.1.1",
|
|
26
|
+
"@types/node": "^17.0.29",
|
|
29
27
|
"@typescript-eslint/eslint-plugin": "^4.4.1",
|
|
30
28
|
"@typescript-eslint/parser": "^4.4.1",
|
|
31
29
|
"brighterscript": "0.45.3",
|
|
32
30
|
"chai": "^4.2.0",
|
|
33
|
-
"chai-files": "^1.4.0",
|
|
34
31
|
"chai-subset": "^1.6.0",
|
|
32
|
+
"coveralls": "^3.0.0",
|
|
35
33
|
"eslint": "^7.11.0",
|
|
36
|
-
"eslint-plugin-github": "^4.1.1",
|
|
37
34
|
"eslint-plugin-no-only-tests": "^2.4.0",
|
|
35
|
+
"fs-extra": "^10.1.0",
|
|
38
36
|
"minimatch": "^3.0.4",
|
|
39
|
-
"mocha": "^
|
|
37
|
+
"mocha": "^9.2.2",
|
|
40
38
|
"nyc": "^15.1.0",
|
|
41
|
-
"roku-deploy": "^3.2.4",
|
|
42
|
-
"sinon": "^9.0.2",
|
|
43
39
|
"source-map-support": "^0.5.13",
|
|
44
40
|
"trim-whitespace": "^1.3.3",
|
|
45
41
|
"ts-node": "^9.0.0",
|
|
46
42
|
"typescript": "^3.8.3",
|
|
47
|
-
"
|
|
43
|
+
"undent": "^0.1.0"
|
|
48
44
|
},
|
|
49
45
|
"peerDependencies": {
|
|
50
46
|
"brighterscript": "^0.45.3"
|
|
51
47
|
},
|
|
52
48
|
"scripts": {
|
|
49
|
+
"preversion": "npm run build && npm run lint && npm run test",
|
|
53
50
|
"clean": "rm -rf ./dist && mkdir dist",
|
|
54
51
|
"compile": "npm run clean && tsc -p .",
|
|
55
52
|
"prepublishOnly": "npm run build",
|
|
56
53
|
"lint": "eslint \"src/**\"",
|
|
57
54
|
"build": "npm run compile && cp -r ../framework/src/source ./dist/lib/framework",
|
|
58
|
-
"test": "
|
|
59
|
-
"
|
|
55
|
+
"test": "nyc mocha",
|
|
56
|
+
"test:nocover": "mocha",
|
|
57
|
+
"publish-coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
60
58
|
"publish-npm": "npm run test && npm publish",
|
|
61
59
|
"publish-npm:beta": "npm run test && npm publish --tag=beta",
|
|
62
60
|
"local": "ts-node scripts/install-local.js",
|
|
@@ -82,7 +80,8 @@
|
|
|
82
80
|
},
|
|
83
81
|
"nyc": {
|
|
84
82
|
"include": [
|
|
85
|
-
"src
|
|
83
|
+
"src/**/*.ts",
|
|
84
|
+
"!src/**/*.spec.ts"
|
|
86
85
|
],
|
|
87
86
|
"extension": [
|
|
88
87
|
".ts"
|
|
@@ -109,6 +108,9 @@
|
|
|
109
108
|
"require": [
|
|
110
109
|
"source-map-support/register",
|
|
111
110
|
"ts-node/register"
|
|
111
|
+
],
|
|
112
|
+
"watchExtensions": [
|
|
113
|
+
"ts"
|
|
112
114
|
]
|
|
113
115
|
}
|
|
114
116
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,382 +0,0 @@
|
|
|
1
|
-
### Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
4
|
-
|
|
5
|
-
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
|
-
|
|
7
|
-
#### [v4.6.0](https://github.com/georgejecook/rooibos/compare/4.5.4...v4.6.0)
|
|
8
|
-
|
|
9
|
-
- chore: update to bsc 0.45.3 [`#152`](https://github.com/georgejecook/rooibos/pull/152)
|
|
10
|
-
- fix(node-tests): fixes node tests not running [`#147`](https://github.com/georgejecook/rooibos/pull/147)
|
|
11
|
-
- bump [`0c69f53`](https://github.com/georgejecook/rooibos/commit/0c69f53d8fa97df6f70d263eb913e31158f26548)
|
|
12
|
-
- bump [`3b54696`](https://github.com/georgejecook/rooibos/commit/3b54696a0be2dfa4997babeec3fc33490bdea9fa)
|
|
13
|
-
|
|
14
|
-
#### [4.5.4](https://github.com/georgejecook/rooibos/compare/4.5.3...4.5.4)
|
|
15
|
-
|
|
16
|
-
> 12 January 2022
|
|
17
|
-
|
|
18
|
-
#### [4.5.3](https://github.com/georgejecook/rooibos/compare/4.5.2...4.5.3)
|
|
19
|
-
|
|
20
|
-
> 12 January 2022
|
|
21
|
-
|
|
22
|
-
- fix: fixes equals failures [`#144`](https://github.com/georgejecook/rooibos/pull/144)
|
|
23
|
-
- bump [`2864c66`](https://github.com/georgejecook/rooibos/commit/2864c66adac94e3c2fa7fa1d565493617dcac08d)
|
|
24
|
-
|
|
25
|
-
#### [4.5.2](https://github.com/georgejecook/rooibos/compare/4.5.1...4.5.2)
|
|
26
|
-
|
|
27
|
-
> 6 January 2022
|
|
28
|
-
|
|
29
|
-
- improves stringand float comparisons and assert not invalid message [`#142`](https://github.com/georgejecook/rooibos/pull/142)
|
|
30
|
-
|
|
31
|
-
#### [4.5.1](https://github.com/georgejecook/rooibos/compare/4.5.0...4.5.1)
|
|
32
|
-
|
|
33
|
-
> 5 January 2022
|
|
34
|
-
|
|
35
|
-
- Feat/add home press flag [`#140`](https://github.com/georgejecook/rooibos/pull/140)
|
|
36
|
-
- bump [`ef9d022`](https://github.com/georgejecook/rooibos/commit/ef9d022bb628217275486a08de170b609b2374c1)
|
|
37
|
-
|
|
38
|
-
#### [4.5.0](https://github.com/georgejecook/rooibos/compare/4.4.2...4.5.0)
|
|
39
|
-
|
|
40
|
-
> 5 January 2022
|
|
41
|
-
|
|
42
|
-
- Fix/doc improvements [`#139`](https://github.com/georgejecook/rooibos/pull/139)
|
|
43
|
-
- Fix/doc improvements [`#138`](https://github.com/georgejecook/rooibos/pull/138)
|
|
44
|
-
- bump [`59155f1`](https://github.com/georgejecook/rooibos/commit/59155f1f48cd8f27bd35b5f89e564ba08c509eac)
|
|
45
|
-
|
|
46
|
-
#### [4.4.2](https://github.com/georgejecook/rooibos/compare/4.4.1...4.4.2)
|
|
47
|
-
|
|
48
|
-
> 17 September 2021
|
|
49
|
-
|
|
50
|
-
- fix: removes erroneous file [`920770a`](https://github.com/georgejecook/rooibos/commit/920770aefa981062455f25d11181fbb51d5764ae)
|
|
51
|
-
- bump [`261900c`](https://github.com/georgejecook/rooibos/commit/261900c430d44850cc564661b111ae18468a160b)
|
|
52
|
-
- bump [`44bc98d`](https://github.com/georgejecook/rooibos/commit/44bc98d0dc994d2e200051503b97636f2538bacc)
|
|
53
|
-
|
|
54
|
-
#### [4.4.1](https://github.com/georgejecook/rooibos/compare/4.3.2...4.4.1)
|
|
55
|
-
|
|
56
|
-
> 30 August 2021
|
|
57
|
-
|
|
58
|
-
- Feat/adds flag to allow skipping some fields on iterative equals [`#135`](https://github.com/georgejecook/rooibos/pull/135)
|
|
59
|
-
- Clutch of fixes [`#134`](https://github.com/georgejecook/rooibos/pull/134)
|
|
60
|
-
- version bump [`865cccf`](https://github.com/georgejecook/rooibos/commit/865cccf83f56f8445b76a6588c76633bbdc6ffd5)
|
|
61
|
-
- version bump [`894cdf0`](https://github.com/georgejecook/rooibos/commit/894cdf0b63783301d517380eeb23532935606624)
|
|
62
|
-
|
|
63
|
-
#### [4.3.2](https://github.com/georgejecook/rooibos/compare/4.3.1...4.3.2)
|
|
64
|
-
|
|
65
|
-
> 19 May 2021
|
|
66
|
-
|
|
67
|
-
- chore: fix docs [`#132`](https://github.com/georgejecook/rooibos/pull/132)
|
|
68
|
-
- remove travis [`#130`](https://github.com/georgejecook/rooibos/pull/130)
|
|
69
|
-
|
|
70
|
-
#### [4.3.1](https://github.com/georgejecook/rooibos/compare/4.2.1...4.3.1)
|
|
71
|
-
|
|
72
|
-
> 19 May 2021
|
|
73
|
-
|
|
74
|
-
- chore: update docs [`#131`](https://github.com/georgejecook/rooibos/pull/131)
|
|
75
|
-
- Beta [`#121`](https://github.com/georgejecook/rooibos/pull/121)
|
|
76
|
-
- add workflow [`4b235e9`](https://github.com/georgejecook/rooibos/commit/4b235e93175fb52763687c3c8f128672565b89d5)
|
|
77
|
-
- version bump [`a064344`](https://github.com/georgejecook/rooibos/commit/a06434458cf3f25fd84d2c06af677addf1efcfae)
|
|
78
|
-
- version bump [`e048ebf`](https://github.com/georgejecook/rooibos/commit/e048ebff7a2be252abe18b0e816b1d3474cee5ed)
|
|
79
|
-
|
|
80
|
-
#### [4.2.1](https://github.com/georgejecook/rooibos/compare/4.1.1...4.2.1)
|
|
81
|
-
|
|
82
|
-
> 22 April 2021
|
|
83
|
-
|
|
84
|
-
- fix(framework): Fixes framework tests [`7008e9d`](https://github.com/georgejecook/rooibos/commit/7008e9de1f21c78948a58eafdf3c7a799f0b454c)
|
|
85
|
-
- version bump [`a5dc306`](https://github.com/georgejecook/rooibos/commit/a5dc30636e911744c57912619603fc641c33ea90)
|
|
86
|
-
- doc improvements [`58d3c7a`](https://github.com/georgejecook/rooibos/commit/58d3c7a1d957a82788fb9ea09202ba6a7765464c)
|
|
87
|
-
|
|
88
|
-
#### [4.1.1](https://github.com/georgejecook/rooibos/compare/4.1.0...4.1.1)
|
|
89
|
-
|
|
90
|
-
> 1 March 2021
|
|
91
|
-
|
|
92
|
-
- adds scripts for easy remote/local npm switching [`c033761`](https://github.com/georgejecook/rooibos/commit/c033761afcf5958228b16fe62cfd6cbc05e3b1a5)
|
|
93
|
-
- compile against latest bsc [`7d2c187`](https://github.com/georgejecook/rooibos/commit/7d2c187b61fec2da6fc4618018c570cbc1a29f93)
|
|
94
|
-
|
|
95
|
-
#### [4.1.0](https://github.com/georgejecook/rooibos/compare/4.0.6...4.1.0)
|
|
96
|
-
|
|
97
|
-
> 23 February 2021
|
|
98
|
-
|
|
99
|
-
- feat: improves handling of errors in assertions [`f80d19b`](https://github.com/georgejecook/rooibos/commit/f80d19b405477f7fc46005b42eb49969818c6087)
|
|
100
|
-
- bump to 4.1.1 [`f349941`](https://github.com/georgejecook/rooibos/commit/f349941c4934f9f430670ccb65990e0bfa2b09de)
|
|
101
|
-
- bunch of fixes [`d95a506`](https://github.com/georgejecook/rooibos/commit/d95a50601520a33286123d1c837fe8102e9dcbb1)
|
|
102
|
-
|
|
103
|
-
#### [4.0.6](https://github.com/georgejecook/rooibos/compare/4.0.0...4.0.6)
|
|
104
|
-
|
|
105
|
-
> 11 February 2021
|
|
106
|
-
|
|
107
|
-
- feat(framework-tests): Improve framework tests by making it a bsc compiled app, so that it servers of an example of how to use rooibos with bsc [`#114`](https://github.com/georgejecook/rooibos/pull/114)
|
|
108
|
-
- first stab at moving over to ropm [`81b9e8f`](https://github.com/georgejecook/rooibos/commit/81b9e8f18c5005405ee7e303890e12735b3c05b7)
|
|
109
|
-
- refactoring to reflect new plugin-driven pattenr [`32faa19`](https://github.com/georgejecook/rooibos/commit/32faa192158081b8c2f325236dfc9592b377c610)
|
|
110
|
-
- adds linting and testing setup. Thanks Bronley Plumb [`cab1266`](https://github.com/georgejecook/rooibos/commit/cab12663620fabddf11c6e84632d0afb400e9ff8)
|
|
111
|
-
|
|
112
|
-
### [4.0.0](https://github.com/georgejecook/rooibos/compare/3.6.1...4.0.0)
|
|
113
|
-
|
|
114
|
-
> 12 June 2020
|
|
115
|
-
|
|
116
|
-
- Chore/move to new bs compiler [`#106`](https://github.com/georgejecook/rooibos/pull/106)
|
|
117
|
-
- bump to 4.0.0 [`a8eb8ac`](https://github.com/georgejecook/rooibos/commit/a8eb8acaede9a40d1a97733e73666bfd176bbbd7)
|
|
118
|
-
- chore(docs): adds missing logo [`2101474`](https://github.com/georgejecook/rooibos/commit/2101474ebc5106bd0c74be3bcfac2110e75c4d71)
|
|
119
|
-
- Update logos [`ea3200f`](https://github.com/georgejecook/rooibos/commit/ea3200f78b9d8bd1c7ceed01588e47111bbfa48c)
|
|
120
|
-
|
|
121
|
-
#### [3.6.1](https://github.com/georgejecook/rooibos/compare/3.6.0...3.6.1)
|
|
122
|
-
|
|
123
|
-
> 21 May 2020
|
|
124
|
-
|
|
125
|
-
- chore(tests): Adds node test to framework suite, and also improves the file structure to include placeholder files, so as to better conform with brighterscript compiler [`f23b81d`](https://github.com/georgejecook/rooibos/commit/f23b81d8e34a6e0e86af84dc2441d0755bb5eba2)
|
|
126
|
-
- chore(core): bump to 3.6.1 [`167fab1`](https://github.com/georgejecook/rooibos/commit/167fab1bca39a381201664ffb4ca3d6132bfc4b3)
|
|
127
|
-
- fix(TestRunner): Adds more logoutput when a node test does not complete [`c4277d6`](https://github.com/georgejecook/rooibos/commit/c4277d66779b7b6c9f77cbc71c74d60e7668dfb1)
|
|
128
|
-
|
|
129
|
-
#### [3.6.0](https://github.com/georgejecook/rooibos/compare/3.5.1...3.6.0)
|
|
130
|
-
|
|
131
|
-
> 21 May 2020
|
|
132
|
-
|
|
133
|
-
- feat(assertions): adds support for async fields [`28f3275`](https://github.com/georgejecook/rooibos/commit/28f32754daee7d4adef7a4e18baa0d6af07653f9)
|
|
134
|
-
- chore(docs): add async assert docs [`6261e55`](https://github.com/georgejecook/rooibos/commit/6261e551f1e6a3ad92eef07d2236c203141fa0ec)
|
|
135
|
-
- chore(core): bump to 3.6.0 [`660926b`](https://github.com/georgejecook/rooibos/commit/660926bb0d72997916863877d51c3e5b61da44c5)
|
|
136
|
-
|
|
137
|
-
#### [3.5.1](https://github.com/georgejecook/rooibos/compare/3.5.0...3.5.1)
|
|
138
|
-
|
|
139
|
-
> 20 May 2020
|
|
140
|
-
|
|
141
|
-
- fix(TestRunner): Addresses issue that prevented node tests from correctly running [`c6aec59`](https://github.com/georgejecook/rooibos/commit/c6aec599edd1e61cf90634a5bf718af1f02560d1)
|
|
142
|
-
- bump to 3.5.1 [`a08fff6`](https://github.com/georgejecook/rooibos/commit/a08fff6d25cc1d4a783dce15eac4d7f402adf676)
|
|
143
|
-
|
|
144
|
-
#### [3.5.0](https://github.com/georgejecook/rooibos/compare/3.4.3...3.5.0)
|
|
145
|
-
|
|
146
|
-
> 20 May 2020
|
|
147
|
-
|
|
148
|
-
- feat(runner): adds ability to wait on scene.isReadyToStartTests, if present before starting the tests [`c1b71a9`](https://github.com/georgejecook/rooibos/commit/c1b71a9a6f7b8e4e974ecf33d4928d3b249b2532)
|
|
149
|
-
- fix(mocks): Better handling for mock creation failures [`df74e3b`](https://github.com/georgejecook/rooibos/commit/df74e3b52caf42ae9f8439a92694c7c36a7a827c)
|
|
150
|
-
- bump to 3.5.0 [`6246d42`](https://github.com/georgejecook/rooibos/commit/6246d420a0fa0a8e67f0e826487cb047bc99316d)
|
|
151
|
-
|
|
152
|
-
#### [3.4.3](https://github.com/georgejecook/rooibos/compare/3.4.2...3.4.3)
|
|
153
|
-
|
|
154
|
-
> 10 May 2020
|
|
155
|
-
|
|
156
|
-
- bound to 3.4.3 [`c217996`](https://github.com/georgejecook/rooibos/commit/c2179965364b0d85e5ba0af97c7d88d891656abe)
|
|
157
|
-
- hotfix for wln error [`b30d44e`](https://github.com/georgejecook/rooibos/commit/b30d44e55e0b18e5842747562af06a584f0cb8af)
|
|
158
|
-
- fix(mocks): Fixes crash on multi expect [`e02f96c`](https://github.com/georgejecook/rooibos/commit/e02f96cab091fc6a0d622f85b7302d7c48480aca)
|
|
159
|
-
|
|
160
|
-
#### [3.4.2](https://github.com/georgejecook/rooibos/compare/3.4.1...3.4.2)
|
|
161
|
-
|
|
162
|
-
> 7 May 2020
|
|
163
|
-
|
|
164
|
-
- feat(mocks):adds shadow methods to facilitate mock failure line number reporting [`d1e652c`](https://github.com/georgejecook/rooibos/commit/d1e652cc9a622b7c3ee7bd86937d5b826ea08dc3)
|
|
165
|
-
- chore: bounce to 3.4.2 [`cc2c559`](https://github.com/georgejecook/rooibos/commit/cc2c5598ab88def1d2dd93f35b8459b542959329)
|
|
166
|
-
|
|
167
|
-
#### [3.4.1](https://github.com/georgejecook/rooibos/compare/3.4.0...3.4.1)
|
|
168
|
-
|
|
169
|
-
> 5 May 2020
|
|
170
|
-
|
|
171
|
-
- bounce to 3.4.1 [`f9c4935`](https://github.com/georgejecook/rooibos/commit/f9c4935b4337b41d3fb69a666c95f6be40e1735c)
|
|
172
|
-
- updates version.txt [`ae130f3`](https://github.com/georgejecook/rooibos/commit/ae130f393a9df1014b8683c233f5f20603ff0e6f)
|
|
173
|
-
- fix(core): minor logger fix [`61ee811`](https://github.com/georgejecook/rooibos/commit/61ee81136a609586c96e553ea49ab7828c7424fa)
|
|
174
|
-
|
|
175
|
-
#### [3.4.0](https://github.com/georgejecook/rooibos/compare/3.3.0...3.4.0)
|
|
176
|
-
|
|
177
|
-
> 4 May 2020
|
|
178
|
-
|
|
179
|
-
- Feature/option to remove test times [`#82`](https://github.com/georgejecook/rooibos/pull/82)
|
|
180
|
-
- add option to not print test times [`#80`](https://github.com/georgejecook/rooibos/pull/80)
|
|
181
|
-
- Regenerates package-lock.json [`bf210cd`](https://github.com/georgejecook/rooibos/commit/bf210cd60062f04e807735dc8f2f772f786273ce)
|
|
182
|
-
- feat(core): Adds lcov report, and moves test files to brighterscript [`99b8d50`](https://github.com/georgejecook/rooibos/commit/99b8d50a7c0668c0bca29eedfdc190ebe10ff7e7)
|
|
183
|
-
- feat: lcov support [`0cfb918`](https://github.com/georgejecook/rooibos/commit/0cfb91813587fb26a7be1e3f64ad798be2e86b83)
|
|
184
|
-
|
|
185
|
-
#### [3.3.0](https://github.com/georgejecook/rooibos/compare/3.2.2...3.3.0)
|
|
186
|
-
|
|
187
|
-
> 26 September 2019
|
|
188
|
-
|
|
189
|
-
- feat: Increase mocks limit to 25 - it is now possible to create up to 25 mocks for a given test suite. [`#73`](https://github.com/georgejecook/rooibos/pull/73)
|
|
190
|
-
- chore:adds changelog generator to dependencies [`22a2530`](https://github.com/georgejecook/rooibos/commit/22a25308cd4d448c4cdd01087dc43cda74ca82d5)
|
|
191
|
-
- fix: fixes incorrect reporting of version numbers during test run [`e820831`](https://github.com/georgejecook/rooibos/commit/e820831823993e33a6581926701d8263f7826fc4)
|
|
192
|
-
- bounc to 3.3.0 [`7652747`](https://github.com/georgejecook/rooibos/commit/7652747a5f3ec52b5126c18f3b8f96271ec3d3f2)
|
|
193
|
-
|
|
194
|
-
#### [3.2.2](https://github.com/georgejecook/rooibos/compare/3.2.1...3.2.2)
|
|
195
|
-
|
|
196
|
-
> 22 September 2019
|
|
197
|
-
|
|
198
|
-
- version bounce, remove file that should not be scm [`0e60d54`](https://github.com/georgejecook/rooibos/commit/0e60d549504dda61ed53b3cb55aa005c20b123ca)
|
|
199
|
-
- fix: fixes incorrect reporting of version numbers during test run [`e3f8810`](https://github.com/georgejecook/rooibos/commit/e3f88108f3b09d21f487b04a9afcd53861a21219)
|
|
200
|
-
- ignore generated dist file in sample project [`ff2a592`](https://github.com/georgejecook/rooibos/commit/ff2a59230d77a447f1c9083004eda1c57f7ea9c2)
|
|
201
|
-
|
|
202
|
-
#### [3.2.1](https://github.com/georgejecook/rooibos/compare/3.2.0...3.2.1)
|
|
203
|
-
|
|
204
|
-
> 22 September 2019
|
|
205
|
-
|
|
206
|
-
- fix: fixes regression in node tests [`7b63c69`](https://github.com/georgejecook/rooibos/commit/7b63c69ecacdd26d6d9b067b46eb56908ae869e7)
|
|
207
|
-
- bounce to 3.2.1 [`07067e4`](https://github.com/georgejecook/rooibos/commit/07067e4ea3f3ddc74afe72fa46c89231f2521154)
|
|
208
|
-
- chore: add bash task to run gulp, coz vscode ide keeps opening a gulp tab [`c7a45ad`](https://github.com/georgejecook/rooibos/commit/c7a45ad2160fd3c7c31a7ccf692440ad7ec7391b)
|
|
209
|
-
|
|
210
|
-
#### [3.2.0](https://github.com/georgejecook/rooibos/compare/3.1.1...3.2.0)
|
|
211
|
-
|
|
212
|
-
> 22 September 2019
|
|
213
|
-
|
|
214
|
-
- feat: migrate to using brighterscript, via maestro project's compiler [`391b902`](https://github.com/georgejecook/rooibos/commit/391b902c82b63a261a73f452879fbde72eb57ae0)
|
|
215
|
-
- chore: adds documentation for matchers [`ef79171`](https://github.com/georgejecook/rooibos/commit/ef791711abe87a02ee5c935aa5ac34f178cdf6e3)
|
|
216
|
-
- feat: adds matchers for mocks, you can now use built in anyXXXMatchers, or roll your own as function pointers, or inline functions [`f87609e`](https://github.com/georgejecook/rooibos/commit/f87609e5c1e0dc0b532333be4d6971755d3af229)
|
|
217
|
-
|
|
218
|
-
#### [3.1.1](https://github.com/georgejecook/rooibos/compare/3.1.0...3.1.1)
|
|
219
|
-
|
|
220
|
-
> 10 August 2019
|
|
221
|
-
|
|
222
|
-
- fixes compatability issues with rooibos cli [`#68`](https://github.com/georgejecook/rooibos/pull/68)
|
|
223
|
-
- adds version task to gulp file and fixes docs [`815a61f`](https://github.com/georgejecook/rooibos/commit/815a61f39033d85b33d55fbba4b986008a30c7f4)
|
|
224
|
-
- updates version to 3.1.1 [`0a11e3d`](https://github.com/georgejecook/rooibos/commit/0a11e3dbd4339983763a40ced892afc6bd1d92a5)
|
|
225
|
-
- updates docs [`f2d9a1a`](https://github.com/georgejecook/rooibos/commit/f2d9a1ab112e6aa0f54758d880b3125b224b0c9b)
|
|
226
|
-
|
|
227
|
-
#### [3.1.0](https://github.com/georgejecook/rooibos/compare/3.0.4...3.1.0)
|
|
228
|
-
|
|
229
|
-
> 18 July 2019
|
|
230
|
-
|
|
231
|
-
- Feature/check version [`#66`](https://github.com/georgejecook/rooibos/pull/66)
|
|
232
|
-
- adds legacy support [`#61`](https://github.com/georgejecook/rooibos/pull/61)
|
|
233
|
-
- adds checks for version [`17b9d83`](https://github.com/georgejecook/rooibos/commit/17b9d83ba717911672ba8adc6ae83c58f01d6c60)
|
|
234
|
-
- some format fixes [`745af9c`](https://github.com/georgejecook/rooibos/commit/745af9c9ae0170d1db5f15f79ae78e7f451b907a)
|
|
235
|
-
- some format fixes [`dba439c`](https://github.com/georgejecook/rooibos/commit/dba439c7fc26721d434322aea4f2e19abb460cf2)
|
|
236
|
-
|
|
237
|
-
#### [3.0.4](https://github.com/georgejecook/rooibos/compare/3.0.3...3.0.4)
|
|
238
|
-
|
|
239
|
-
> 23 June 2019
|
|
240
|
-
|
|
241
|
-
- adds legacy support documentation [`a1fc451`](https://github.com/georgejecook/rooibos/commit/a1fc4515d7abc542f834d53f4260903c69b2ff74)
|
|
242
|
-
- fix borked formatting on rooibosC args table in the docs [`464b9cf`](https://github.com/georgejecook/rooibos/commit/464b9cf71da4915d62b821f16d9f6d325dc204fc)
|
|
243
|
-
|
|
244
|
-
#### [3.0.3](https://github.com/georgejecook/rooibos/compare/3.0.2-beta...3.0.3)
|
|
245
|
-
|
|
246
|
-
> 4 June 2019
|
|
247
|
-
|
|
248
|
-
- Feature/move json config [`#54`](https://github.com/georgejecook/rooibos/pull/54)
|
|
249
|
-
- bounce to 3.0.3 [`3c81064`](https://github.com/georgejecook/rooibos/commit/3c8106406baaff619ad216ff8a062e8407256709)
|
|
250
|
-
- runtime config is now provided by rooibosC [`774ade1`](https://github.com/georgejecook/rooibos/commit/774ade1ec8740fbb15d4025cd607674224bebab6)
|
|
251
|
-
- fix for box crash on asString when used on an aa with mock methods [`8367146`](https://github.com/georgejecook/rooibos/commit/8367146f8f6a13e1183fb23aa6da92cc8253a14b)
|
|
252
|
-
|
|
253
|
-
#### [3.0.2-beta](https://github.com/georgejecook/rooibos/compare/3.0.1-beta...3.0.2-beta)
|
|
254
|
-
|
|
255
|
-
> 28 May 2019
|
|
256
|
-
|
|
257
|
-
- adds path to test suite output [`73f0d17`](https://github.com/georgejecook/rooibos/commit/73f0d17a673d0ebd9f28e9e8ffb5be7721b6d4e7)
|
|
258
|
-
|
|
259
|
-
#### [3.0.1-beta](https://github.com/georgejecook/rooibos/compare/3.0.0-beta...3.0.1-beta)
|
|
260
|
-
|
|
261
|
-
> 27 May 2019
|
|
262
|
-
|
|
263
|
-
- improves docs for code coverage [`f388804`](https://github.com/georgejecook/rooibos/commit/f388804f410b069b7a99d9fd6d7ee3a9fec07a55)
|
|
264
|
-
|
|
265
|
-
#### [3.0.0-beta](https://github.com/georgejecook/rooibos/compare/2.3.0...3.0.0-beta)
|
|
266
|
-
|
|
267
|
-
> 25 May 2019
|
|
268
|
-
|
|
269
|
-
- Feature/code coverage [`#46`](https://github.com/georgejecook/rooibos/pull/46)
|
|
270
|
-
- fix #45 [`#45`](https://github.com/georgejecook/rooibos/issues/45)
|
|
271
|
-
- Revert "remove files that should not be checked in" [`9c2ece6`](https://github.com/georgejecook/rooibos/commit/9c2ece66a88976cee6e4abbd908f6755083cad89)
|
|
272
|
-
- remove files that should not be checked in [`3e4ecdb`](https://github.com/georgejecook/rooibos/commit/3e4ecdb7127c487a949b268dedb1a0bf7b53c431)
|
|
273
|
-
- remove folder which should not be added [`ba257a5`](https://github.com/georgejecook/rooibos/commit/ba257a588a369592e360df58b8a4dbb1bf399c16)
|
|
274
|
-
|
|
275
|
-
#### [2.3.0](https://github.com/georgejecook/rooibos/compare/2.2.0...2.3.0)
|
|
276
|
-
|
|
277
|
-
> 27 April 2019
|
|
278
|
-
|
|
279
|
-
- doc update [`e9d7a40`](https://github.com/georgejecook/rooibos/commit/e9d7a40aaf9ab21d9eef42de77100ccd60774ea2)
|
|
280
|
-
- 2.3.0 - adds ms time for each test in the test output [`f960e52`](https://github.com/georgejecook/rooibos/commit/f960e521b39d07543d987dd7e247a4b6e45638a6)
|
|
281
|
-
|
|
282
|
-
#### [2.2.0](https://github.com/georgejecook/rooibos/compare/2.1.4...2.2.0)
|
|
283
|
-
|
|
284
|
-
> 26 April 2019
|
|
285
|
-
|
|
286
|
-
- 2.2.0 - adds ability to pass node scope into the test runner, for non-node tests so node-scoped functions/vars can be accessed [`67527eb`](https://github.com/georgejecook/rooibos/commit/67527eb009feeff109979146c81d177ea7ce8b14)
|
|
287
|
-
|
|
288
|
-
#### [2.1.4](https://github.com/georgejecook/rooibos/compare/2.1.3...2.1.4)
|
|
289
|
-
|
|
290
|
-
> 26 April 2019
|
|
291
|
-
|
|
292
|
-
- 2.1.4 adds paramter directive to allow creation of nodes [`189b1be`](https://github.com/georgejecook/rooibos/commit/189b1be7425455b6d55afe09e81dd267102f0f12)
|
|
293
|
-
- minor doc update [`b22363d`](https://github.com/georgejecook/rooibos/commit/b22363d93e08eb1aa4e951c835138543650340c7)
|
|
294
|
-
|
|
295
|
-
#### [2.1.3](https://github.com/georgejecook/rooibos/compare/2.1.2...2.1.3)
|
|
296
|
-
|
|
297
|
-
> 25 April 2019
|
|
298
|
-
|
|
299
|
-
- Feature/update to use latest rooibos c [`#41`](https://github.com/georgejecook/rooibos/pull/41)
|
|
300
|
-
- improved docs for updated rooibos preprocessor [`fd48ffe`](https://github.com/georgejecook/rooibos/commit/fd48ffee19c67c0519157e994d88b0e891959217)
|
|
301
|
-
- fix typo [`0fc3fc0`](https://github.com/georgejecook/rooibos/commit/0fc3fc0265bd041bcba96bd3fea6aedb75f7fe9b)
|
|
302
|
-
- update changelog [`1e9f8f4`](https://github.com/georgejecook/rooibos/commit/1e9f8f4d03a24fcb40c26b7ad75928065e20fb90)
|
|
303
|
-
|
|
304
|
-
#### [2.1.2](https://github.com/georgejecook/rooibos/compare/2.1.1...2.1.2)
|
|
305
|
-
|
|
306
|
-
> 21 March 2019
|
|
307
|
-
|
|
308
|
-
- Bugfix/overloaded expects collide on same method name on different objects [`#39`](https://github.com/georgejecook/rooibos/pull/39)
|
|
309
|
-
- formats base test suite, and addresses issue of overriding mocks colliding on method name across different objects [`297fcfa`](https://github.com/georgejecook/rooibos/commit/297fcfa6ebb586be784fa045e14cee8d9d9cdfc5)
|
|
310
|
-
- doc update [`01e4df0`](https://github.com/georgejecook/rooibos/commit/01e4df04d154d7eec7d62ad474be61f7550066fa)
|
|
311
|
-
- adds additinoaly testing to ensure that there were no regressions on non-overloaded expects mixed with overloaded ones [`9d0015c`](https://github.com/georgejecook/rooibos/commit/9d0015c85facf0381341b0c75329bc9ac519b92a)
|
|
312
|
-
|
|
313
|
-
#### [2.1.1](https://github.com/georgejecook/rooibos/compare/2.1.0...2.1.1)
|
|
314
|
-
|
|
315
|
-
> 21 March 2019
|
|
316
|
-
|
|
317
|
-
- Bugfix/minor issues [`#35`](https://github.com/georgejecook/rooibos/pull/35)
|
|
318
|
-
- adds dist to repo to make life easier [`c5c364b`](https://github.com/georgejecook/rooibos/commit/c5c364bc0d2ecd18d499509c8fb7bdbacd973a48)
|
|
319
|
-
- fix incorrect docs on stub method [`18581b8`](https://github.com/georgejecook/rooibos/commit/18581b8f99f92893ccce4184d5d242e11f3f44e0)
|
|
320
|
-
- doc updates [`3b4e06e`](https://github.com/georgejecook/rooibos/commit/3b4e06e8e8016f4fee5dd0e283ba8f4afd660f42)
|
|
321
|
-
|
|
322
|
-
#### [2.1.0](https://github.com/georgejecook/rooibos/compare/2.0.0...2.1.0)
|
|
323
|
-
|
|
324
|
-
> 21 March 2019
|
|
325
|
-
|
|
326
|
-
- Feature/multi expect [`#34`](https://github.com/georgejecook/rooibos/pull/34)
|
|
327
|
-
- Bugfix/documentation samples restructuring [`#32`](https://github.com/georgejecook/rooibos/pull/32)
|
|
328
|
-
- Add multi overloads for expectOnce [`fac8adc`](https://github.com/georgejecook/rooibos/commit/fac8adc6831e992751d58509baa0269181d0d9d4)
|
|
329
|
-
- Bounce to 2.1.0 [`ee85712`](https://github.com/georgejecook/rooibos/commit/ee85712ba3b9534d1b1c12f35021fde1aa3cffac)
|
|
330
|
-
- updates travis ci and readme [`e849134`](https://github.com/georgejecook/rooibos/commit/e849134ddc7b492a1ff7f011edfc1a064adc518c)
|
|
331
|
-
|
|
332
|
-
### [2.0.0](https://github.com/georgejecook/rooibos/compare/0.4.3...2.0.0)
|
|
333
|
-
|
|
334
|
-
> 18 February 2019
|
|
335
|
-
|
|
336
|
-
#### [0.4.3](https://github.com/georgejecook/rooibos/compare/0.4.1...0.4.3)
|
|
337
|
-
|
|
338
|
-
> 18 May 2021
|
|
339
|
-
|
|
340
|
-
- Beta [`#121`](https://github.com/georgejecook/rooibos/pull/121)
|
|
341
|
-
- add workflow [`4b235e9`](https://github.com/georgejecook/rooibos/commit/4b235e93175fb52763687c3c8f128672565b89d5)
|
|
342
|
-
- version bump [`a064344`](https://github.com/georgejecook/rooibos/commit/a06434458cf3f25fd84d2c06af677addf1efcfae)
|
|
343
|
-
- Update build.yml [`8833bc5`](https://github.com/georgejecook/rooibos/commit/8833bc54afffe9ddb737ec39d943c8321c0b911c)
|
|
344
|
-
|
|
345
|
-
#### [0.4.1](https://github.com/georgejecook/rooibos/compare/v0.2...0.4.1)
|
|
346
|
-
|
|
347
|
-
> 9 February 2021
|
|
348
|
-
|
|
349
|
-
- feat(framework-tests): Improve framework tests by making it a bsc compiled app, so that it servers of an example of how to use rooibos with bsc [`#114`](https://github.com/georgejecook/rooibos/pull/114)
|
|
350
|
-
- Chore/move to new bs compiler [`#106`](https://github.com/georgejecook/rooibos/pull/106)
|
|
351
|
-
- Feature/option to remove test times [`#82`](https://github.com/georgejecook/rooibos/pull/82)
|
|
352
|
-
- add option to not print test times [`#80`](https://github.com/georgejecook/rooibos/pull/80)
|
|
353
|
-
- feat: Increase mocks limit to 25 - it is now possible to create up to 25 mocks for a given test suite. [`#73`](https://github.com/georgejecook/rooibos/pull/73)
|
|
354
|
-
- fixes compatability issues with rooibos cli [`#68`](https://github.com/georgejecook/rooibos/pull/68)
|
|
355
|
-
- Feature/check version [`#66`](https://github.com/georgejecook/rooibos/pull/66)
|
|
356
|
-
- adds legacy support [`#61`](https://github.com/georgejecook/rooibos/pull/61)
|
|
357
|
-
- Feature/move json config [`#54`](https://github.com/georgejecook/rooibos/pull/54)
|
|
358
|
-
- Feature/code coverage [`#46`](https://github.com/georgejecook/rooibos/pull/46)
|
|
359
|
-
- Feature/update to use latest rooibos c [`#41`](https://github.com/georgejecook/rooibos/pull/41)
|
|
360
|
-
- Bugfix/overloaded expects collide on same method name on different objects [`#39`](https://github.com/georgejecook/rooibos/pull/39)
|
|
361
|
-
- Bugfix/minor issues [`#35`](https://github.com/georgejecook/rooibos/pull/35)
|
|
362
|
-
- Feature/multi expect [`#34`](https://github.com/georgejecook/rooibos/pull/34)
|
|
363
|
-
- Bugfix/documentation samples restructuring [`#32`](https://github.com/georgejecook/rooibos/pull/32)
|
|
364
|
-
- Rooibos 2.0.0 [`#26`](https://github.com/georgejecook/rooibos/pull/26)
|
|
365
|
-
- fix #45 [`#45`](https://github.com/georgejecook/rooibos/issues/45)
|
|
366
|
-
- doc update [`2a562ce`](https://github.com/georgejecook/rooibos/commit/2a562cea0e965b54f492c5dff09d10554e88a745)
|
|
367
|
-
- removes rooibosPreprocessor - it now is in it's own repo [`1477b1e`](https://github.com/georgejecook/rooibos/commit/1477b1e3ee9ae8ec3a9ec9de9167a51308b945b0)
|
|
368
|
-
- bunch of fixes for solo test and solo param filtering, introduces more stub test data to work with (mainly just looking at output right now - needs more asserts) and also better handling of params (deals with bright scripts loose json parser and invalid type, by having direct control of the suite, group and test via asText, as opposed to simply doing asJson and stringily) [`26e1f09`](https://github.com/georgejecook/rooibos/commit/26e1f092b2c4c6050fe3d329af424597b643e35c)
|
|
369
|
-
|
|
370
|
-
#### v0.2
|
|
371
|
-
|
|
372
|
-
> 1 October 2018
|
|
373
|
-
|
|
374
|
-
- fixes #5 checking for test naming collisions needs improvements with Params tests - can lead to vague error messages for params [`#5`](https://github.com/georgejecook/rooibos/issues/5)
|
|
375
|
-
- fixes #13 aftereach not running [`#13`](https://github.com/georgejecook/rooibos/issues/13)
|
|
376
|
-
- fixes #15 [`#15`](https://github.com/georgejecook/rooibos/issues/15)
|
|
377
|
-
- fixes #8 Accept whitespace (carriage return) between annotations and test functions [`#8`](https://github.com/georgejecook/rooibos/issues/8)
|
|
378
|
-
- - fixes #7 - all annotations are now case insensitive [`#7`](https://github.com/georgejecook/rooibos/issues/7)
|
|
379
|
-
- fixes #9 Typo [`#9`](https://github.com/georgejecook/rooibos/issues/9)
|
|
380
|
-
- -remove unused api docs folder [`6af014d`](https://github.com/georgejecook/rooibos/commit/6af014d8d9352158739d36232e874ca26100b04d)
|
|
381
|
-
- - api docs in docs folder now [`66f50b9`](https://github.com/georgejecook/rooibos/commit/66f50b9e8cf0c7804ae3befe09c0880c8bf9c1da)
|
|
382
|
-
- Initial commit [`39969ee`](https://github.com/georgejecook/rooibos/commit/39969ee6760a610bf35b150b5f5b2eacb6be84c0)
|