4. Properties list - AJARProject/AJ_Tools_UnitTest GitHub Wiki
Unit Test
Properties of the Unit Test object (all mandatory) :
| Name | Type | Description | Default |
|---|---|---|---|
| given | text | Must describe what is the unit under test (a method, a component, whatever...). | null |
| should | text | Must describe what the test should do. | null |
| expected | any | The expected value. | null |
| actual | any | The actual value that will be compared to the expected to know if the test pass or fail. | null |
Unit Test Formula :
| Formula name | Parameter(s) | Description |
|---|---|---|
| assert | none | This formula will execute the test. After the execution of the test, all the properties of the unit test object are removed to be ready for the next test. |