Painless CLI integration testing

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Inquirer.js

    A collection of common interactive command line user interfaces.

    There is a CLI application based on Inquirer. Potentially, it could be another CLI library, say something from the following list. Our goal is to provide integration tests. But before that, let's look at the related terminology.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. robotjs

    Node.js Desktop Automation.

    If we talk about the first approach, the following approaches will be useful: Nodejs Child Process: write to stdin from an already initialised process, RobotJS. It makes sense to note here that the approaches above are rather for e2e testing than integration.

  4. cli-testing

    original.ts

  5. node-mock-stdin

    Mock STDIN file descriptor in Node.js

  6. mocha

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

    We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!

  7. ava

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

    We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!

  8. jest

    Delightful JavaScript Testing.

    We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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

  • Using Node.js for Automated Testing with Headless Browsers

    6 projects | dev.to | 11 Sep 2023
  • React Testing

    2 projects | /r/reactjs | 13 Dec 2022
  • From Requests to Reports: Clean Logging in API Testing

    4 projects | dev.to | 4 May 2025
  • Top React Testing Libraries in 2025

    7 projects | dev.to | 31 Mar 2025
  • How To Write Unit Test Cases In React JS

    1 project | dev.to | 8 Mar 2025

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?