Using Mocha to test ClojureScript

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

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
  • mocha-cljs

    An experiment in how mocha might play with ClojureScript.

    As a bit of an experiment, last month I had a look at how to use Mocha to write CLJS tests, including exercising reagent components via JSDom and testing library. The end result was (opinion warning!) surprisingly pleasant.

  • linkedom

    A triple-linked lists based DOM implementation.

    Other things to do would be to use linkedom instead of JSDom, look into a better assertion library than assert etc.

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

  • mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    As a bit of an experiment, last month I had a look at how to use Mocha to write CLJS tests, including exercising reagent components via JSDom and testing library. The end result was (opinion warning!) surprisingly pleasant.

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