Collecting JavaScript code coverage with Capybara in Ruby on Rails application

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

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
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
  1. Webpacker

    Use Webpack to manage app-like JavaScript modules in Rails

    For example, there is a Ruby on Rails application that uses Webpacker and has JavaScript files that are covered by the system tests. Capybara is used as the system testing tool.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. jest

    Delightful JavaScript Testing.

    This instrumenter is already outdated, but Jest is still using it to get coverage, and we have not found any alternatives to work with Webpack directly.

  4. Capybara

    Acceptance test framework for web applications

    For example, there is a Ruby on Rails application that uses Webpacker and has JavaScript files that are covered by the system tests. Capybara is used as the system testing tool.

  5. istanbul-instrumenter-loader

    Discontinued Istanbul Instrumenter Loader

    For getting coverage of the JavaScript code, we use Istanbul Instrumenter Loader. It needs to be added as a dev dependency with the package manager (Link to installation).

  6. codecov-ruby

    Discontinued Ruby uploader for Codecov

    For collecting the coverage results we will use Codecov. It has several arguments in his favor:

  7. nyc

    the Istanbul command line interface

    At the next stage, they are merged into one JSON file. For this purpose, we use nyc (Istanbul’s command line interface).

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

  • Mastering Testing: My journey with Jest in my project

    3 projects | dev.to | 7 Nov 2025
  • Setting Up Testing for My CLI Tool

    2 projects | dev.to | 7 Nov 2025
  • Build a Personal Library API with Node.js, Express and MongoDB

    5 projects | dev.to | 20 Oct 2025
  • Jest: Writing Composable Tests

    1 project | dev.to | 29 Sep 2025
  • Instalando Jest no Angular(20)

    1 project | dev.to | 29 Jul 2025