Test Runner is a framework for running automatic tests, which are helpful if you want to ensure important components of your application still work as they used to in the past ("regression testing").
You can define sets of tests ("Test Suites"), each containing several tests of parts of your application ("Test Cases"), and then run all of them or any subset of them. As you run the tests, you can see which test is currently running, and for each test whether it has finished successfully or not.
We distinguish between two types of tests:
The templates used in testing, Test Runner, Test Suite, Display Test Case, and Process Test Case, are available in the Testing category of the palette.
Test Runner can be added to any application, and then you can test models from that application. Starting with version 1.1 of Tersus, the Examples project (provided as part of the standard installation of the Tersus Studio) shows how you do it. Examples/Tests/Test Runner demonstrates both process and display test cases. It uses a vertically split screen, where the left side is used to manage a hierarchy of test suites and test cases, while the right side is used for the display of those parts of the application that are simulated by the display test cases.
To learn the usage of the Test Runner, try adding test cases to the Examples project.
If you now save you model and run Examples, you'll see that there is a new branch 'Math' under the 'Common Library Tests' suite of tests. You can mark the 'Add' test case and run it.
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign