зеркало из
https://github.com/iharh/notes.git
synced 2025-11-02 06:36:06 +02:00
16 строки
324 B
Plaintext
16 строки
324 B
Plaintext
Assertions:
|
|
|
|
Assert("abcd" == "abc") // org.scalates.exceptions.TestFailedException
|
|
Assert("abcd" === "abc") // "ab[cd]" did not equal "ab[c]"
|
|
if (!some-condition)
|
|
cancel("Can't run the test because bla-bla")
|
|
|
|
assume(cond, "The cond is false bla-bla")
|
|
assume(...someInt == 9)
|
|
|
|
fail()
|
|
fail("msg")
|
|
|
|
cancel()
|
|
calcel("msg")
|