How do I write meaningful unit tests, rather than useless or low-value unit tests?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

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
  • tape

    tap-producing test harness for node and browsers

    OK understood on all, and noted. Thanks. The language I'm using is JavaScript, and the test runner I'm using is Tape. It is good, but very lightweight, so it has no coverage feature. Any suggestions for a separate package I can use to assess coverage? I'm not sure if you're a JS person or not, sorry for assuming. If not, no worries--I can do my own research.

  • 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.

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