A Practical Approach to JavaScript Testing
Trinh, Huy (2020)
Trinh, Huy
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2020113025126
https://urn.fi/URN:NBN:fi:amk-2020113025126
Tiivistelmä
The purpose of this final year project is to analyze some most common types of testing in JavaScript application, namely Acceptance, System, Integration, and Unit testing. The usecases and evaluation of each testing level in terms of benefits and costs are also addressed. In addition, different JavaScript testing frameworks are studied with great attention since it has an important effect on application testing.
The use-case of this thesis is a React web application that is implemented in nearly all types of testing described in the thesis. These tests contributed greatly to the project since they allow developers to implement new features without breaking another. Furthermore, the project setup for testing and important test cases are also made available as an opensource for study purpose which can be found at https://github.com/HuyAms/testify
In conclusion, this thesis demonstrates various types of JavaScript application testing and encourages developers to implement them on the software.
The use-case of this thesis is a React web application that is implemented in nearly all types of testing described in the thesis. These tests contributed greatly to the project since they allow developers to implement new features without breaking another. Furthermore, the project setup for testing and important test cases are also made available as an opensource for study purpose which can be found at https://github.com/HuyAms/testify
In conclusion, this thesis demonstrates various types of JavaScript application testing and encourages developers to implement them on the software.