|
Name
|
Expected
|
Actual
|
N
|
testAssertDeepEqualsFailed
|
table#1 {
["a"] = 3,
["b"] = 3,
}
|
Wikipedia:Sandbox
|
Y
|
testAssertDeepEqualsSuccessful
|
|
|
N
|
testAssertEqualsFailed
|
not equal
|
will fail
|
N
|
testAssertEqualsFailedWithMessage / custom message
|
not equal
|
will fail with an extra message
|
Y
|
testAssertEqualsSuccessful
|
|
|
N
|
testAssertStringContainsFailed
|
模組:ScribuntoUnit/showcase:22: Failed to find pattern "not contained" in string "will fail"
|
N
|
testAssertStringContainsFailedTruncated
|
模組:ScribuntoUnit/showcase:26: Failed to find pattern "not contained" in string "does not contain given text and is a very long string, actually so long, that it will be truncated in the test report"
|
N
|
testAssertStringContainsFailedWithMessage
|
模組:ScribuntoUnit/showcase:31: custom message
Failed to find pattern "not contained" in string "will fail with an extra message"
|
Y
|
testAssertStringContainsSuccessful
|
|
|
N
|
testAssertTemplateEqualsSuccessful
|
Lua error -- expandTemplate: template "add" does not exist
|
N
|
testAssertThrowsFailed
|
模組:ScribuntoUnit/showcase:75: Expected exception but none was thrown
|
Y
|
testAssertThrowsSuccessful
|
|
|
N
|
testAssertThrowsWithStringMessageSuccessful
|
msg
|
模組:ScribuntoUnit/showcase:79: msg
|
Y
|
testAssertThrowsWithTableMessageSuccessful
|
|
|
N
|
testAssertThrowsWithUnexpectedErrorMessageFailed
|
foo
|
模組:ScribuntoUnit/showcase:87: msg
|
N
|
testAssertTrueFailed
|
模組:ScribuntoUnit/showcase:10: Failed to assert that false is true
|
N
|
testAssertTrueFailedWithMessage
|
模組:ScribuntoUnit/showcase:14: A custom message
Failed to assert that false is true
|
Y
|
testAssertTrueSuccessful
|
|
|
N
|
testAssertWithinDeltaFailed
|
0.2
|
0.25
|
N
|
testAssertWithinDeltaFailedWithMessage / custom message
|
0.2
|
0.25
|
Y
|
testAssertWithinDeltaSuccessful
|
|
|