I want to start all existing unit tests and check if any failed.
The possible options I have in mind so far:
1. In WinCC OA 3.19 you can start all unit tests by clicking on a folder and selecting "start all unit tests recursiv". Can I use this function in Control?
2. Starting every script file in the tests folder. For this i would need a control function, which justs needs the path to the file and then runs it E.g.: startScript("script path");
3. When creating a unit test file, it automatically creates a unit test class.
E.g.:
Code: Select all
class TstAdd : OaTest
{
...
}
main()
{
TstAdd test = TstAdd();
test.startAll();
exit(0);
}