Testing React Single Page Web Application using Automated Testing Tools

Md Hasan, Mohammad Rahman, Md Chowdhury, Md Rahman, Kaal Abdulle, Farzana Sadia, Mahady Hasan

2022

Abstract

In modern software development practices, single page application development is becoming popular. Among the available frameworks, React is a popular platform to develop web applications front-end. For most of the software, almost half of the application code is for the front-end. Therefore testing the front-end or GUI is also almost equally important. In modern application development, React is by far the most popular front-end framework/library. In modern development practice, like agile development or CI/CD development, testing performance and the easiness of implementing testing tools are very crucial factor. In this paper, three different testing tools, Jest, Enzyme and Cypress specifically designed for React based single page application, were analysed. The main objective is to check the execution time performance for the same testing functionality on different tools, and developer friendliness of these tools. While each tool having their own features and limitations, for modern development practices like Agile or CI/CD, Enzyme is tested as a better tool which is both easy to integrate while providing efficiency.

Download


Paper Citation


in Harvard Style

Hasan M., Rahman M., Chowdhury M., Rahman M., Abdulle K., Sadia F. and Hasan M. (2022). Testing React Single Page Web Application using Automated Testing Tools. In Proceedings of the 17th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-568-5, pages 469-476. DOI: 10.5220/0011077900003176


in Bibtex Style

@conference{enase22,
author={Md Hasan and Mohammad Rahman and Md Chowdhury and Md Rahman and Kaal Abdulle and Farzana Sadia and Mahady Hasan},
title={Testing React Single Page Web Application using Automated Testing Tools},
booktitle={Proceedings of the 17th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2022},
pages={469-476},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011077900003176},
isbn={978-989-758-568-5},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - Testing React Single Page Web Application using Automated Testing Tools
SN - 978-989-758-568-5
AU - Hasan M.
AU - Rahman M.
AU - Chowdhury M.
AU - Rahman M.
AU - Abdulle K.
AU - Sadia F.
AU - Hasan M.
PY - 2022
SP - 469
EP - 476
DO - 10.5220/0011077900003176