INTEGRATED GRAPH-BASED TESTING PIPELINE FOR MODERN SINGLE-PAGE APPLICATIONS

Authors

DOI:

https://doi.org/10.20998/2079-0023.2025.01.08

Keywords:

single-page applications, testing, automated testing, Pareto analysis, test coverage, React, Cypress, Playwright

Abstract

In the modern software development ecosystem, Single-Page Applications (SPAs) have become the de facto standard for delivering rich, interactive user experiences. Frameworks such as React, Vue, and Angular enable developers to build highly responsive interfaces; however, they also introduce intricate client-side state management and complex routing logic. As applications grow in size and complexity, manually writing and maintaining end-to-end tests for every possible user journey becomes infeasible. Moreover, ensuring comprehensive coverage − across functionality, security, performance, and usability − requires an integrated and adaptive testing strategy that can scale with rapid release cadences.

This paper introduces a novel, integrated testing pipeline that augments conventional unit, component, integration, API, performance, security, and accessibility testing with a formal Graph-Based Testing (GBT) model. We model the SPA as a directed graph, where each vertex represents a distinct UI state or view, and each directed edge corresponds to a user-triggered transition (e.g., clicks, form submissions, navigation events). Leveraging graph algorithms, our approach automatically identifies missing paths to achieve exhaustive node, edge, and simple path coverage up to a configurable length, synthesizes minimal test sequences, and generates executable test scripts in frameworks such as Jest (unit / component), Cypress or Playwright (integration / E2E), and Postman (API).

To select and tune the appropriate tools for each testing facet, we employ a multi-criteria decision framework based on linear additive utility and Pareto analysis. Each tool is evaluated across five normalized dimensions − defect detection accuracy, execution speed, licensing or infrastructure cost, adoption effort, and scalability − weighted according to project priorities.

Finally, we integrate this GBT-driven test generation and tool orchestration into a CI / CD pipeline, enriched with pre-production security scans via OWASP ZAP and periodic load tests with JMeter. The result is a continuous, self-healing suite of tests that adapts to UI changes, automatically refactors itself against graph-differencing alerts, and maintains high confidence levels even under aggressive sprint schedules. Empirical evaluation on two large-scale SPAs demonstrates a 40 % reduction in manual test authoring effort and a 25 % increase in overall coverage metrics compared to traditional approaches.

Author Biographies

Nataliia Golian, Kharkiv National University of Radio Electronics

Candidate of Technical Sciences, Associate Professor, Kharkiv National University of Radio Electronics, Department of Software Engineering, Kharkiv, Ukraine

Varvara Tisheninova, Kharkiv National University of Radio Electronics

Student, Kharkiv National University of Radio Electronics, Department of Software Engineering, Kharkiv, Ukraine

References

Beizer B. Software Testing Techniques. 2nd ed. New Delhi: Dreamtech Press, 2003. 550 p.

Zhu M. On Graph-Based Testing. Proceedings of the International Conference on Software Engineering, 1997, pp. 120–127.

Goyal P., Ferrara E. Graph embedding techniques, applications, and performance: A survey. Knowledge-Based Systems. 2018, vol. 151, pp. 78–94.

Tamassia R. Handbook of Graph Drawing and Visualization. Boca Raton: CRC Press, 2013. 844 p.

Cypress.io. Available at: https://docs.cypress.io (accessed 30.04.2025).

Playwright. Microsoft. Available at: https://playwright.dev (accessed 30.04.2025).

Jest – Delightful JavaScript Testing. Available at: https://jestjs.io (accessed 30.04.2025).

H. Joshi. Analysis of web assembly technology in cloud and backend. International Research Journal of Modernization in Engineering Technology and Science. 2022, vol. 4, no. 9, pp. 121–128.

Postman. Available at: https://www.postman.com (accessed 30.04.2025).

OWASP ZAP – The World’s Most Popular Free Security Tool. Available at: https://www.zaproxy.org (accessed 30.04.2025)..

Apache Software Foundation. Available at: https://jmeter.apache.org (accessed 30.04.2025).

Hamdan M. H. Continuous Integration and Testing. Birmingham: Packt, 2022. 330 p.

Downloads

Published

2025-07-11

How to Cite

Golian, N., & Tisheninova, V. (2025). INTEGRATED GRAPH-BASED TESTING PIPELINE FOR MODERN SINGLE-PAGE APPLICATIONS. Bulletin of National Technical University "KhPI". Series: System Analysis, Control and Information Technologies, (1 (13), 51–59. https://doi.org/10.20998/2079-0023.2025.01.08

Issue

Section

INFORMATION TECHNOLOGY