[AskJS] Jest is so slow. Why Jest?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/javascript

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean JavaScript Code. Always.
  • Zigi - The context switching struggle is real
  • Scout APM - Truly a developer’s best friend
  • jest

    Delightful JavaScript Testing.

    Jest has issues with Windows file systems (or did). It’s terribly slow on windows but in my experience runs well on macOS. Here’s the bug for it: https://github.com/facebook/jest/issues/7631

  • ava

    Node.js test runner that lets you develop with confidence 🚀

    If you are writing code meant to be run in the backend, I would suggest ava, which is very fast and doesn't include any magic. I also like that it's very "clean", in that it doesn't define any globals.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • benchmark_jest

    https://github.com/facebook/jest/issues/7963 micromatch4 test

    In fact there's a set of benchmarks here, one of them that shows the issue is literally 2 files, a package.json, and an index.spec.js that takes 7 seconds to run...

  • constantinople

    Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.

    Hey, there's a fork.

  • circular_buffer_js

    Fast TS/JS implementation of a circular buffer (aka ring queue, cyclic list, etc.) Extremely well tested.

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

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