Tessy V2.3 is now available for download. Razorcat added in this new version of its renowned unit test tool options to check function pointers and the order of stub function calls as well as comfortable options to set a variable to a certain value for all existing test cases and an auto-complete function for the usercode editor.
Checking the order of stub function calls The order of stub function calls can now be checked. This is helpful if the test object calls stub functions, but the actual order (and number) is to be checked for each individual test case.
Eval Macros Tessy V2.3 introduces the possibility to include in the test results the evaluation of any variable. The evaluation can take place in the user code of stub functions or in the test step epilog of a test case. This allows to check any possible C code expression (e.g. to read/write Special Functions Register of a microcontroller) and add the result of the evaluation into the Tessy report.
Checking function pointers If the result of a function is a pointer to a function, the numeric result (i.e. the address of the function) may differ depending on the linking. Tessy sets the name of a function as expected result and counter-checks the resulting address to determine whether it belongs to the correct function name or not.
Usercode auto completion An auto-complete menu has been added to the Usercode-Editor. Pressing Ctrl+Space opens up the menu to use any variable from the test object interface. Changing the variables name in the source code will automatically be recognized by Tessy and adjusted accordingly.
Assigning values in all test cases The Test Data Editor (TDE) now allows a variable to be set to a certain value in a very easy way in all existing test cases.