TestCase#
Provides a way to create unit tests as script. More...
import Script.Test
Properties#
Name | |
---|---|
string | name |
Methods#
Name | |
---|---|
compare(actual, expected, msg) | |
verify(value, msg) |
Detailed Description#
Run unit tests as a script, and returns the number of failed tests.
Property Documentation#
string name#
This property defines the name of the unit test. This is a mandatory property.
Method Documentation#
compare(actual, expected, msg)#
Compares actual
vs expected
, and display the msg
if it's not the same.
verify(value, msg)#
Verifies that value
is true, and display the msg
if it's not.