2017-12-19 16:07:50 +01:00
|
|
|
{
|
2018-01-04 18:23:28 +01:00
|
|
|
"TestEvent": "Various test event in the execution cycle",
|
|
|
|
"tests": "A Unit tests framework",
|
2017-12-19 16:07:50 +01:00
|
|
|
"tests.assert": "Checks a boolean condition",
|
|
|
|
"tests.assertClose": "Checks that 2 values are close to each other",
|
|
|
|
"tests.assertClose|param|actual": "what the value was",
|
|
|
|
"tests.assertClose|param|expected": "what the value should be",
|
2018-01-04 18:23:28 +01:00
|
|
|
"tests.assertClose|param|tolerance": "the acceptable error margin, eg: 5",
|
|
|
|
"tests.onEvent": "Registers code to be called at various points in the test execution",
|
2017-12-19 16:07:50 +01:00
|
|
|
"tests.test": "Registers a test to run"
|
|
|
|
}
|