Mutation testing helps identify weaknesses in your test code. The Stryker Mutator seeds your TypeScript code with defects, and if your tests miss them, it highlights flaws in your testing suite.
My FREE programming apps:
https://apps.apple.com/app/id659282498
https://play.google.com/store/apps/de...
My FREE TypeScript Course:
https://typescript.tv/
Timeline:
00:00 - Introduction to Mutation Testing
01:10 - Setting Up Stryker for TypeScript
04:14 - Understanding Code Mutations
07:50 - Improving Your Test Code with Stryker
09:00 - Supported Mutators in Stryker
10:15 - Detecting Code Timeouts
12:15 - Disabling Stryker Mutants
15:40 - Improving Your Source Code with Stryker
18:00 - Killing Mutants with Mock Inspection
20:32 - Performance of Mutation Testing
22:00 - Identifying Disabled Unit Tests
23:20 - Spotting Unnecessary Tests with Stryker
25:50 - Why 100% Code Coverage Isn't Enough
Resources:
https://stryker-mutator.io/docs/mutat...
https://stryker-mutator.io/docs/stryk...
#TypeScript #JavaScript #NodeJS