React - React testing
Your code should always be maintainable
Without automatic tests each bigger change or refactor will require tons of manual tests. This isn't an issue for small project. However when you source code grown it's becoming to be challanging task.
The skill to write propper tests that will check functionality rather then implementation is crutial for Your testbase.
In order to acquire this skill, You should be familiar with JestLibrary in the first place.
All code is guilty, until proven innocent.
Anonymous
Basics of JS unit tests
I know how to create unit tests for javascript code - not only limiting to react components. I know tools like jestLibrary
Setup of tests
I know how to setup React Testing LibraryLibrary and test a simple stateless component
I alternatively use EnzymeLibrary
User interactions testing
I know how to test user interaction like clicks and hovers using tools like user-eventLibrary
API mocking
I know how I can mocking backend APIs without interfering existing code. I know the setup of Mock Service Worker (or similar tools) with existing tests setup
Global state mocking
I know how to testReduxLibrary state changes due to actions and selectors for components
I know how to create unit tests for javascript code - not only limiting to react components. I know tools like jestLibrary
I know how to setup React Testing LibraryLibrary and test a simple stateless component
I alternatively use EnzymeLibrary
I know how to test user interaction like clicks and hovers using tools like user-eventLibrary
I know how I can mocking backend APIs without interfering existing code. I know the setup of Mock Service Worker (or similar tools) with existing tests setup
I know how to testReduxLibrary state changes due to actions and selectors for components