If your ST code contains an endless loop, and the endless loop is executed during testing, there are two ways to solve the problem and stop the test execution:
- Simply wait for 5 minutes. A test run will be aborted after this time has passed.
- If you use the CLI or the stop button does not stop the test execution:
- Cancel the test in the CLI by pressing
Control+C. - Open the task manager of your operating system.
- In the background processes, search for the task
tests.exeand abort it.
- Cancel the test in the CLI by pressing
You will be able to execute your tests again.