Improve Your Code with Mutation Testing 🧟

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • 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:
    - apps.apple.com/app/id659282498
    - play.google.com/store/apps/de...
    My FREE TypeScript Course:
    - 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:
    - stryker-mutator.io/docs/mutat...
    - stryker-mutator.io/docs/stryk...
    #TypeScript #JavaScript #NodeJS
  • НаукаНаука

Комментарии • 1

  • @TypeScriptTV
    @TypeScriptTV  28 дней назад

    To test changed code at the PR level, check out Stryker's incremental testing feature: stryker-mutator.io/docs/stryker-js/incremental/