# MicheleBertoli/react-fix-it

Automagically generate tests from errors

Repository: https://github.com/MicheleBertoli/react-fix-it
Canonical: https://ross.abutalabs.com/products/react-fix-it
Homepage: https://michelebertoli.github.io/react-fix-it/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2018-09-24T03:54:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3548, "days_push": 2900, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1901, forks 21 (observed 2026-08-28T04:05:51.567577+00:00)

## What it is
A React library that automatically generates test snippets from component runtime errors by wrapping lifecycle methods in try/catch blocks. It logs reproducible test code to the console so developers can paste it into their test suite.

## Use cases
- generate tests automatically from react component errors
- capture reproducible test snippets when a component crashes
- speed up debugging of react lifecycle errors
- create regression tests for bugs found during development

## When to choose
- you maintain a legacy React app and want quick test scaffolding from runtime errors
- you want to turn component crashes into reproducible test cases during development

## When to avoid
- in production, since wrapping lifecycle methods degrades component performance
- for modern React versions, as the project has not been updated since 2018
- you need a maintained testing solution with active support

## Facets
- artifact type: library
- maturity: abandoned
- function: testing, error-handling, developer-tools
- domain: frontend, web-development, testing, developer-tools
- platform: browser
- tags: react, test-generation, error-capture, development-tools, jest, nodejs, javascript

## Member repositories
- MicheleBertoli/react-fix-it (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.567577+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-30T03:11:56.150223+00:00, confidence not recorded.
  - readme: https://github.com/MicheleBertoli/react-fix-it (fetched 2026-08-28T04:05:51.567577+00:00, sha a53d4b18c1c7)
  - homepage: https://michelebertoli.github.io/react-fix-it/ (fetched 2026-08-29T10:51:23.860970+00:00, sha a004c8443686)
  - registry_npm: https://registry.npmjs.org/react-fix-it (fetched 2026-08-29T10:51:23.869899+00:00, sha 9ebe89d188d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
