Typing the Test Suite
A brisk course on writing tests with Jest and TypeScript.
What is this?
A quick course for intermediate level developers looking to get started with testing using Jest and TypeScript.
We move fast, break things, then write tests to make sure they don't break again. The technologies used are:
Who is this for?
How do I get it?
Gumroad will let you download all the content in one shot, in glorious 1080p.
How much does it cost?
It costs $19 on Udemy and $15 on Gumroad. I support purchasing power parity to make my content affordable to everyone. If this price is unaffordable for you, send me an email and we will make it work.
Is there a preview?
I have more questions!
Get everything setup and starting writing some tests with Jest.
2.0 Project: String Calculator
Put the skills learned in section one into practice by completing the String Calculator Kata.
3.0 Matcher Madness
Do a deep dive into the various matchers Jest provides, from toBe and toEqual to the more exotic resolves and rejects matchers.
4.0 TypeScript, Node.js and Jest
We introduce TypeScript and Jest by developing and testing a Node.js API. Note: This section assumes basic knowledge of Node.js and Express.
5.0 TypeScript, React and Testing in a DOM Environment
Build a toy React app and see how to use TypeScript and Jest for DOM based testing with Testing Library. Note: this section assumes basisc knowledge of React.
6.0 Jest Tips and Tricks
Learn some of Jest's more advanced features. Write your own custom matchers with TypeScript and write more robust, reuseable and (mostly) type-safe mocks.
About the author
Hi there! I'm Lachlan, Vue.js team member and quality software enthusiast.