What front-end tests you should write for your next project in 2022

Providing good quality applications is crucial for any business. The idea of having unit and integration tests for important parts of code has existed in backend languages for a long time. When it came to the front-end – it was not always considered as something really needed.
Front-end part was simple, user interfaces were not complicated, applications were usable even with some errors in the UI. Nevertheless, with rapidly increasing numbers of SPA applications and pushing more and more functionalities to the front-end side, having very complicated user interfaces, testing client side code started to be treated seriously.
Choosing types of tests you write should always be a project specific decision. In the following article I will go through all types of tests that you can create for front-end applications and highlight the differences between them. After reading it, you should be able to answer the question “What tests should I write for my next project?”.
Continue reading on our blog
This article was written by our Senior JS/Front-end Developer, Łukasz Błaszyński. Łukasz has over 9 years of professional experience in the field. You can check out his Github profile here.