One of the most important aspects of a test development environment is the capability to run and debug code. ATEasy provides multiple methods of running and debugging code. These include immediate mode commands such as Doit! And Testit!, Debug commands such as Step Into and Step Over, and Run commands that allow user to run segments of a given program.
The debugging tools provided by ATEasy allow users to test any portion of the program without compiling the application. This ability saves a significant amount of time as each line of code may be executed individually and immediately verifying the validity of the code as it is created.
Immediate Mode commands may be used to check and/or run code. They are available from the Build and Debug menus or from the Standard toolbar. The following commands are available:
|
Command |
Description |
|
Run the current program |
|
|
Checks the selected or current view code |
|
|
Runs the selected or current view code |
|
|
Runs the selected or current view code in a loop |
|
|
Runs the current test in its entirety |
|
|
Runs the current task in its entirety |
|
|
Runs a form |
You also use Debug commands to test and debug code. These commands let you run programs in a step-by-step mode, run to and from the cursor, set and remove breakpoints.
You can use Run commands to debug programs, but they are predominantly used to control program flow during runtime. Run commands let you loop or skip tasks, or create program profiles to debug the Unit Under Test (UUT).