UPact
class UPact
UPact is a comprehensive framework for testing elements of an application as well as the entire software.
In general, all elements of a controller's interface can be tested using UPact.
Most relevant elements of the UPact class
1. testTargetConfig
Here you have the option of configuring the IP address of the target system for each hardware config
2. testSuite
A sequence of TestCase instances is defined in the test suite section
3. testCaseInstance
A TestCase instance is defined, which type of TestCase is to be used here. It is also necessary to define which controller instance is to be tested. The sequence within a TestSuite is determined by the definition of the subsequent TestCase.
4. startCase
The StartCase defines the starting point within a suite.
5. testSuiteInstance
To achieve maximum flexibility, individual suites can also be instantiated.
Note
It is advisable to maintain a high granularity of the individual suites. This makes it possible to test any combination of suites.
For example:
It may only be possible to test the application if it is in a certain state. It therefore makes sense to build a suite that only has this task. This suite can be placed in front of all other suites and saves the repetitive work of bringing the application into the testable state.