# jfirebaugh/konacha

Test your Rails application's JavaScript with the mocha test framework and chai assertion library

Repository: https://github.com/jfirebaugh/konacha
Canonical: https://ross.abutalabs.com/products/konacha
Language: Ruby
License: NOASSERTION
License Family: other
Last push: 2019-03-16T00:10:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5316, "days_push": 2728, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1039, forks 112 (observed 2026-08-28T04:03:20.036782+00:00)

## What it is
Konacha is a Rails engine for testing your application's JavaScript with the Mocha test framework and Chai assertion library. It leverages the Rails asset pipeline to serve specs, runnable in the browser or headlessly via rake tasks.

## Use cases
- test javascript in a rails app with mocha and chai
- run javascript specs using the rails asset pipeline
- run js unit tests in the browser during development
- run javascript tests headlessly in CI for a rails project
- write javascript specs in coffeescript with sprockets directives

## When to choose
- you have a Rails app using the asset pipeline and want integrated JavaScript testing with Mocha and Chai

## When to avoid
- you use a modern Rails setup with Webpacker, jsbundling, or import maps instead of Sprockets
- you need a framework-agnostic or actively maintained JS test runner
- your project is not Ruby on Rails

## Facets
- artifact type: library
- maturity: abandoned
- function: testing, e2e-testing
- domain: testing, web-development, developer-tools
- platform: ruby, browser
- tags: rails-engine, mocha, chai, javascript-testing, asset-pipeline, sprockets, web-server

## Member repositories
- jfirebaugh/konacha (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.036782+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:37.374889+00:00, confidence not recorded.
  - readme: https://github.com/jfirebaugh/konacha (fetched 2026-08-28T04:03:20.036782+00:00, sha 139682320959)
- Data as of 2026-08-30T08:39:29.467469+00:00.
