testing

Acceptance/GUI testing - Nightwatch

  • acceptance tests

  • stubbing apis

  • headless driver

  • chrome webdriver

  • mochawesome-report-generator

    • https://github.com/adamgruber/mochawesome-report-generator

    • Displaying screen shots

serenity

  • https://serenity-js.org/handbook/index.html

unit testing

  • https://ecom.software/better-unit-tests-with-typescript/

Jest

  • https://til.hashrocket.com/posts/tnuaryjzfb-table-tests-with-jest

  • https://github.com/Hargne/jest-html-reporter

  • https://everyday.codes/javascript/create-custom-jest-matchers-to-test-like-a-pro/

Mocking

  • https://instil.co/blog/typescript-testing-tips-mocking-functions-with-jest/

  • https://github.com/NagRock/ts-mockito

Sequence diagrams

  • https://github.com/markushedvall/plantuml-encoder

  • https://github.com/markushedvall/node-plantuml

  • https://github.com/demike/TsUML2

  • https://plantuml.com/sequence-diagram

reporter

  • https://github.com/Hargne/jest-html-reporter

Plugins

  • https://marketplace.visualstudio.com/items?itemName=prashaantt.node-tdd

  • https://medium.com/swlh/setup-a-modern-javascript-tdd-environment-with-vs-code-131c4de44203

Mutation testing

  • https://stryker-mutator.io/docs/stryker-js/jest-runner

    • html report https://stryker-mutator.io/blog/one-mutation-testing-html-report

Last updated