Évolution de Web Test Suite
Wei Chen · HAL (Le Centre pour la Communication Scientifique Directe) · 2021
Developers rely more and more on so-called End To End (E2E) tests to test the web applications they develop and to check that they have no bug from an end-user point of view. An E2E test simulates the actions performed by the user with his/her browser, and checks that the web application returns the expected outputs. It considers that a web application is a black box, and only knows what are the user actions and what are their expected outputs. However, once some evolutions are performed on a web application, the user actions may change (move the button to another location, add a new button or delete a button). As a result, the E2E test needs to evolve with the evolution of web applications, such as repair the broken test, add the new test, and delete the obsolete test. But it takes a lot of time to evolve E2E tests, especially for large web applications. As such, we do a systematic mapping study to evaluate the existing literature to find gaps in web test suite. We then present an approach, named WebTestSuiteRepair(WTSR), to help the developers who face broken test scripts. In this thesis, WTSR aims at comparing test suite graphs to repair broken actions, hence helps to efficiently repair the E2E tests for web applications automatically. Those approach has been validated through several case studies. We describe some future work to improve our solution, and some research problems that our approaches can target.