Testing Solid.js code beyond jest

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • solid-primitives

    A library of high-quality primitives that extend SolidJS reactivity.

    So you can have a look at the test in the solid-primitives repository.

  • uvu

    uvu is an extremely fast and lightweight test runner for Node.js and the browser

    With uvu, a lot of these functions can be added through external helpers; some are shown in the examples, e.g. coverageand watch and some more not documented there like snoop to add spies.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • snoop

    Easy breezy test spies fo sheezy. (by therealparmesh)

    With uvu, a lot of these functions can be added through external helpers; some are shown in the examples, e.g. coverageand watch and some more not documented there like snoop to add spies.

  • jsdom

    A JavaScript implementation of various web standards, for use with Node.js

    jsdom, full-featured, but slow, the default option in jest

  • happy-dom

    Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

    happy-dom, more lightweight

  • linkedom

    A triple-linked lists based DOM implementation.

    linkedom, fastest, but lacks essential features

  • vite

    Next generation frontend tooling. It's fast!

    The vite server from the solidjs/templates/ts starter allows us to get the paths from asset imports. By now, you should now the drill and you could probably write src/compile-assets.ts yourself:

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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