Forestry machine user interface testing
Leppänen, Joona (2024)
Leppänen, Joona
2024
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2024053119457
https://urn.fi/URN:NBN:fi:amk-2024053119457
Tiivistelmä
This thesis describes user interface testing and its automation for web-based application of a forestry machine. The goal is to provide foundational knowledge, document, and implement ways to automatically validate that Angular applications and their features behave as expected. Testing is done to help catch possible regressions, allowing development to proceed faster and with more confidence, which leads to faster delivery times on new features. Minimizing the amount of manual work required by utilizing automation and keeping maintenance costs of testing low is a high priority.
Automating the tests results in less overall work required because issues are discovered earlier in the product development pipeline. Test automation also enables the developer feedback iteration speed to increase, which can lead to faster and more pre-emptive fixes for potential issues.
The forestry machine application being tested is developed using Angular as the frontend framework. As TypeScript is the primary programming language of Angular, the testing language choice is the same. Jest’s popularity made it be chosen unit test and Playwright is the primary testing technology used due to its extensive flexibility, rich feature set, and overall modern design. GitHub is used with the rest of the organisation’s infrastructure, so GitHub Actions are used as the Continuous Integration tooling to run the tests automatically.
Automating the tests results in less overall work required because issues are discovered earlier in the product development pipeline. Test automation also enables the developer feedback iteration speed to increase, which can lead to faster and more pre-emptive fixes for potential issues.
The forestry machine application being tested is developed using Angular as the frontend framework. As TypeScript is the primary programming language of Angular, the testing language choice is the same. Jest’s popularity made it be chosen unit test and Playwright is the primary testing technology used due to its extensive flexibility, rich feature set, and overall modern design. GitHub is used with the rest of the organisation’s infrastructure, so GitHub Actions are used as the Continuous Integration tooling to run the tests automatically.