Getting Started
UPact is UP's automatic code testing framework. Here is how to get started:
1. Familiarize with Automated Testing
Familiarize yourself with general concepts and ideas of automated testing, for example with:
- UP Knowledge Base: search term: Why Automated Testing?
- Google / Youtube / ChatGPT / Literature
- ...
2. Create Tests
Start with Modelling Tests.
- see also UP Knowledge Base: search term: Best Practices for Writing Unit Tests
3. Configure Target Systems and Design Test Suites
See UPact, for how to configure target systems and combine test cases to test suites.
4. Choose Run Style
Set up one or multiple styles:
- UPact in UPstudio: Run tests and get results within UPstudio.
- Handy for developping or small projects.
- UPact Headless: Run tests with Ant and get results in JUnit style.
- Useful for a fully automated CI/CD pipeline.
- UPact in ServiceUi: Run tests and get results in the ServiceUi.
- Comming soon.
see also UP Knowledge Base: search term: UPact Run Styles
5. Run and Check Results
Run and check results according to the chosen style: UPact in UPstudio / UPact Headless / UPact in ServiceUi.