Testing is crucial for the engineers and every engineering team. Testing helps in gaining the confidence on the features devs are developing, and shipping. Gone are the days where we used to relay only on the testers for the testing and bugs.
Now, engineers are encouraged to write test-cases to avoid bugs and errors. This will increase the confidence of the developers in the product and shipping the code with quality.
Unit testing: Easy
Snapshot : Easy and for UI
Integration Testing: Medium
End to end testing: Complex
TDD: Test driven development
BDD: Behaviour driven development
Proof of documentation
There are 2 testing way: Assertion & test runner
React Testing Library
In next, blog we will get into the code. We will write our first test-case.
If you like this blog do follow me at Twitter