Zero delay development & unit testing iterations

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • vscode-mocha-hmr-sample

    Demonstrates how to use HMR support in vscode mocha explorer

    In short, you'll have to setup webpack for your nodejs server, enabling HMR. To do this, I can point you at this sample repo. It demonstrates how to setup a simple Typescript+Express server with Webpack HMR + unit testing (read its instructions before cloning).

  • pg-mem

    An in memory postgres DB instance for your unit tests

    To get a glimpse of what I'm talking about, you can clone this repo and follow "Development" instructions (by the way this is a small OS lib I maintain, I wrote about it here)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • vscode-mocha-test-adapter

    Use webpack HMR to run your unit tests in vscode, and dramatically shorten your dev lifecycle

    We've been using it for a year in my company, it works quite well, and it is stable - do not hesitate to write an issue here if you have any trouble. It brung the delay between hitting the ▶ button of a unit test and actually hitting a 🔴 breakpoint from 20 seconds to 0.5 sec 🤯.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts