Course Highlights
  • Basics of TypeScript unit testing with Jest
  • Integration tests with TypeScript
  • Test Driven Development (TDD) with Jest
  • Unit testing React with TypeScript and Jest
  • CICD with GitHub Actions and Docker
  • Jest - the basics: hooks, assertions, matchers
  • Jest - the advanced parts: aliases, custom matchers, snapshots
  • Advanced unit testing techniques using Jest
  • Database operations testing with Docker and Jest
Curriculum

5 Topics
How to take this course
Let's connect!
Tools we will need
Why we need tests
Course resources access

8 Topics
Section intro
Jest introduction
Jest project setup
Structure of an unit test
Jest assertions and matchers
Multiple tests structure
Parametrized tests
Jest basics quiz

8 Topics
Section intro
F.I.R.S.T. principles
Jest hooks
Testing for errors
Jest aliases and watch mode
VSCode debug configuration
Coverage
Jest intermediate topics quizz

8 Topics
Section intro
Test Driven Development intro
Coding Katas - password checker
PassChecker setup
PassChecker Iteration 1
PassChecker Iteration 2
PassChecker Iteration 3
Game coding exercise

7 Topics
Section intro
What are test doubles
Stubs
Fakes
Mocks
Spies
Mocking modules

13 Topics
Section intro
Project presentation
Project installation
Testing arrays
Mocking consumer classes
Injecting mocks
Explaining tests
Event based app - tests
Server tests 1 - setup
Server tests 2 - advanced debugging
Server tests 3 - prototype spies
Finishing the tests
High mock tests conclusion

5 Topics
Section intro
Building testing wrappers
Setup tests
Finishing tests
Low mock tests conclusion

4 Topics
Section intro
Understanding integration tests
Integration tests setup
Writing integration tests

7 Topics
Section intro
Environment variables
Multiple test configurations
Snapshot testing
Custom matchers
Exploring the NodeJs test runner module
Testing frameworks comparison

8 Topics
Section intro
Simple React Typescript app setup
Generics state props
What we will test
First tests - rendering React TypeScript components
React testing library: query for elements
Testing user interaction
Testing async updates

6 Topics
Section intro
Section resources
GiHub actions
Pipeline with Jest tests
Local DB testing with Docker
Docker on Github actions

2 Topics
Choosing a work project
Ending lecture

24 Topics
TypeScript presentation
Running TS code
Types in Typescript
User defined types
Optional properties
Type guards
Compiler options
Classes
Access modifiers
Inheritance
Interfaces
Generics
Promises
Modules
Strict mode
Undefined null never unknown
Enums and Swith statements
Runnnig on NodeJs
Debugging node TypeScript
Run in browser
TypeScript with Webpack
Decorators introduction
Method decorators
Outro

1 Topic
Bonus

  Write a Review

Unit Testing for Typescript & NodeJs Developers with Jest

Go to Paid Course