Enhancing testing practices in PHP Laravel applications : strategies and techniques for improved quality assurance
Vasev, Sviatoslav (2024)
Vasev, Sviatoslav
2024
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202405069553
https://urn.fi/URN:NBN:fi:amk-202405069553
Tiivistelmä
The objective of this thesis was to investigate various PHP Laravel testing techniques and to introduce sustainable testing practices for the development team of a software company. The work was carried out for Ronsam Digital Oy, which had released an application called Commu App and is still maintaining and developing it.
The theoretical section explores unit, integration, and regression testing,integrating testing into CI/CD, seeding techniques, and PHPUnit and other PHP Laravel testing tools. The theoretical information is supplemented with real-life examples of code from Commu App. A test strategy document was developed as a part of this thesis work, and its full version has been attached to this report.
The end result of the work, including the test strategy, a GitLab pipeline configuration, and tests, will be used by the development team of Commu App to improve product quality and, consequently, customer satisfaction. However, in order to improve the product quality further, it was suggested that the Laravel framework should be updated to the latest version, PHP documentation blocks should be added to the code, and a similar approach towards automated testing practices should be expanded into the React Native frontend part of the application.
The theoretical section explores unit, integration, and regression testing,integrating testing into CI/CD, seeding techniques, and PHPUnit and other PHP Laravel testing tools. The theoretical information is supplemented with real-life examples of code from Commu App. A test strategy document was developed as a part of this thesis work, and its full version has been attached to this report.
The end result of the work, including the test strategy, a GitLab pipeline configuration, and tests, will be used by the development team of Commu App to improve product quality and, consequently, customer satisfaction. However, in order to improve the product quality further, it was suggested that the Laravel framework should be updated to the latest version, PHP documentation blocks should be added to the code, and a similar approach towards automated testing practices should be expanded into the React Native frontend part of the application.