FROM ZERO TO WRITING COMPLEX UNIT TESTS
Over 2 weeks you will go from writing your first unit test with Jest to adding complex integration tests in a Github Actions pipeline for a React app.
Don't know how to write tests? Become an expert within 2 weeks.
Why are we writing tests?
Jest setup and intro
Testing simple functions
Testing asynchronous functions
Mocking 3rd party dependencies pros and cons
Test coverage via Jest
Exercise & Practice: Complete a series of simple tests using Jest
Excerice & Practice: Complete a series of tests that require mocking
Why RTL?
Writing a simple test for a component
Use a truth table to test different permutations of a component state
Writing an integration test for a component that leverages redux
Writing a test for a component using a 3rd party service and mocking that functionality
Set up Github actions pipeline
Exercise & Practice: Write a test for a component using redux, context and 3rd party dependency
Add your email to enroll early and get a discount on this course.