bounswe / 2021SpringGroup4

This is the project repository of Group 4 for Boğaziçi University's Fundamentals of Software Engineering course.
2 stars 1 forks source link

Frontend : Study How to write Unit test for React #203

Closed yigitsarioglu closed 2 years ago

yigitsarioglu commented 2 years ago

Unit testing is a great discipline which can lead to 40%-80% reductions in bug density. Unit testing also has several other important benefits:

Unit tests need to be written for functions/components on the frontend. Let's start by learning how to do it first.

yigitsarioglu commented 2 years ago

I think these can be useful to us as documentation in the future.

Testing library

Jest io

React js.org testing