Testing Fundamentals in TypeScript

Live Workshop
with Artem ZakharchenkoArtem Zakharchenko


Getting started with automated testing can be extremely intimidating. There’s just so much to learn!

What to test, how to test, testing setup, assertion libraries, test frameworks… It’s overwhelming, to say the least.

But it doesn’t have to be. Even a rocket ship can be broken down into smaller pieces that make up its foundation. And testing code is not rocket science.

I am here to teach you the fundamentals, essential mental models, and practical skills so you can tackle any test at any level.

This workshop is aimed at beginners and developers who have already been writing tests for some time but feel that something is missing and that each test is still a struggle and a challenge.

A walk in the dark. If you want to turn on the light and get confident when testing, you’ve come to the right place.

What this workshop covers

Throughout this workshop, you will:

  • Understand why you write tests and what to test in any situation.
  • Learn how to address and find value in failing tests.
  • Nail down the three-step test structure.
  • Master the assertions. Know why, when, and how you want your tests to fail.
  • See the practical importance of the testing setup and how it helps with handling side effects introduced by the code.
  • Write reliable tests for asynchronous code to prevent flakiness.

Required experience

You don’t need any prior experience with automated testing to complete this workshop.

This workshop is in TypeScript, so make sure you are comfortable with declaring functions, creating and manipulating objects, and working with imports and exports in ESM in TypeScript.

Share this Live Workshop with your friends

Artem Zakharchenko
Hosted by Artem Zakharchenko

Author @ApiMocking. Instructor @eggheadio. All things testing.