Evaluating Automated Testing on an Open-Source Web Application Using Cypress

📅 2026-08-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文使用Cypress框架对开源Web应用进行端到端自动化测试评估,通过27个测试案例分析了执行速度、可靠性和可维护性,证明了Cypress的有效性。
📝 Abstract
End-to-end automated testing is increasingly used in web software development to ensure system quality and shorten response times during development. However, the true effectiveness of automated testing depends on many factors including execution time, stability of test results, and maintainability of the test suite as the application continues to evolve. In this paper, we evaluate the effectiveness of end-to-end automated testing using the Cypress framework for an open-source web application. We deployed the experiment with 27 test cases. The test's effectiveness is measured by execution speed, reliability, and maintainability. The experimental results show that the Cypress-based end-to-end test suite has short and stable execution times. It suits frequent runs during software development. The majority of test cases achieved consistent results across multiple runs, while flakiness only occurred in a few tests which involve complex interactive functions. Furthermore, the study highlights the impact of element locator strategies and Page Object Model (POM) architecture on test suite maintainability, demonstrating that resilient data-cy attributes significantly reduce maintenance overhead when UI changes occur.
Problem

Research questions and friction points this paper is trying to address.

end-to-end automated testing
execution time
stability of test results
maintainability
Innovation

Methods, ideas, or system contributions that make the work stand out.

Cypress
end-to-end automated testing
execution speed
reliability
Page Object Model
🔎 Similar Papers
2024-05-16ACM Transactions on Software Engineering and MethodologyCitations: 4
💼 Related Jobs
No related jobs found.
Q
Quoc-Binh Nguyen
Faculty of Information Technology, Ton Duc Thang University, Ho Chi Minh City, Viet Nam
T
Truc-Ly Phan Nguyen
Computer Science Program, Vietnamese-German University, Ho Chi Minh City, Viet Nam
N
Ngoc Hong Tran
Computer Science Program, Vietnamese-German University, Ho Chi Minh City, Viet Nam
D
Dung Hai Dinh
Business Information System Program, Vietnamese-German University, Ho Chi Minh City, Viet Nam