When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Udemy logo

Easy Test Driven Development with TypeScript and Vitest

How to solve real world problems test first with TDD, Vitest and TypeScript, speeding up your development

     
  • 4.8
  •  |
  • Reviews ( 20 )
₹1299

This Course Includes

  • iconudemy
  • icon4.8 (20 reviews )
  • icon6 total hours
  • iconenglish
  • iconOnline - Self Paced
  • iconcourse
  • iconUdemy

About Easy Test Driven Development with TypeScript and Vitest

Accelerate your journey from Noob to Pro with real-world Test Driven Development. See how to gain all the benefits of Test Driven Development to speed up and secure your development process.

Led by a professional software engineer, using practical examples, this course will make it easy to write tests during software development, and get better code, without slowing down your development cycle.

Rather than walking through the syntax of the test tooling, this course is intended to put Test Driven Development in context. We will discover when to use certain techniques based on realistic scenarios. This connects the theory with the value of applying it.

This is aimed at people who need to add more test automation to their workflow. We will see how to do this with purpose and style. We will learn how to avoid pitfalls and make sure we're testing the right things.

Topics include:

Why we need tests

The basics of tests, from setup through to assertions

Red/Green/Refactor

Code coverage

Mocks and Test Doubles

Testing code that depends on APIs

Keeping control of test code

Test first with user interfaces

Though the examples use Vitest, they can also be adapted to their equivalents in the Jest framework.

What You Will Learn?

  • Go from Noob to Pro with real-world test driven development.
  • Learn a fast effective way of bringing test automation into your coding.
  • Understand how vitest allows us to build unit tests that test business logic and UI code.
  • Learn how to write the right sorts of tests that add real value to your development.
  • See how TDD is done in real life.