Improving UI test automation performance in Angular application within monorepo with multi-layered testing architecture
Vo, Anh (2025-05-21)
Improving UI test automation performance in Angular application within monorepo with multi-layered testing architecture
Vo, Anh
(21.05.2025)
Julkaisu on tekijänoikeussäännösten alainen. Teosta voi lukea ja tulostaa henkilökohtaista käyttöä varten. Käyttö kaupallisiin tarkoituksiin on kielletty.
avoin
Julkaisun pysyvä osoite on:
https://urn.fi/URN:NBN:fi-fe2025052353866
https://urn.fi/URN:NBN:fi-fe2025052353866
Tiivistelmä
Test automation has become an essential practice in modern software development, which enhances the efficiency and reliability of the development process. Developers and testers can focus on higher level testing activities such as exploratory testing while test automation can handle the functionality, component, and integration level of the system. Specifically in the context of web applications, user interface testing is critical to ensure that the end-user experience meets expectations. However, it can be time consuming and unreliable without test automation, specifically when tests depend on visual, DOM structure, and the functionality of the user interface. These challenges highlight the need for a robust testing strategy that integrates multiple layers of testing methods.
The first part of the thesis is a literature review of test automation, examining different testing layers, including unit, component, integration, and end-to-end (E2E) testing. The literature review provides a comparative analysis of these testing layers, highlights their strengths, limitations, as well as recommendations for use cases.
The second part of the thesis presents a case study in which the test architecture of an Angular application is redesigned. Currently the application lacks proper testing strategies in which the component tests, integration tests and end-to-end tests are under the same layer. This makes it difficult for the development team to maintain the test suite, slow feedback and long test execution time. The redesigned test architecture will focus on restructuring the testing load across unit, component, integration, and end-to-end testing layers.
The case study seeks to demonstrate measurable improvements in test execution time, reliability, and maintainability. Additionally, it highlights the needs for multi-layered testing approach in test automation and suggests practices for designing a reliable test automation architecture that aligns with web application development within monorepo.
The first part of the thesis is a literature review of test automation, examining different testing layers, including unit, component, integration, and end-to-end (E2E) testing. The literature review provides a comparative analysis of these testing layers, highlights their strengths, limitations, as well as recommendations for use cases.
The second part of the thesis presents a case study in which the test architecture of an Angular application is redesigned. Currently the application lacks proper testing strategies in which the component tests, integration tests and end-to-end tests are under the same layer. This makes it difficult for the development team to maintain the test suite, slow feedback and long test execution time. The redesigned test architecture will focus on restructuring the testing load across unit, component, integration, and end-to-end testing layers.
The case study seeks to demonstrate measurable improvements in test execution time, reliability, and maintainability. Additionally, it highlights the needs for multi-layered testing approach in test automation and suggests practices for designing a reliable test automation architecture that aligns with web application development within monorepo.