# jfairbank/redux-saga-test-plan

Test Redux Saga with an easy plan.

Repository: https://github.com/jfairbank/redux-saga-test-plan
Canonical: https://ross.abutalabs.com/products/redux-saga-test-plan
Homepage: http://redux-saga-test-plan.jeremyfairbank.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: redux-saga, testing-sagas, testing, redux-saga-testing, unit-testing, integration-testing
Last push: 2026-05-09T22:34:22+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 8, longevity 100
- inputs: {"age_days": 3781, "days_push": 116, "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 1242, forks 126 (observed 2026-08-28T04:04:06.500323+00:00)

## What it is
A JavaScript testing library for Redux Saga that provides chainable assertion APIs for both unit and integration testing of sagas. It offers expectSaga for behavior-driven integration tests and testSaga for exact-effect unit tests, with provider-based mocking of effects.

## Use cases
- test redux saga generators
- integration test saga effects without coupling to ordering
- unit test exact yield ordering in sagas
- mock API calls in saga tests with providers
- assert saga puts a specific action
- test sagas with reducers and state selectors

## When to choose
- you use Redux Saga and want ergonomic saga test assertions
- you want both unit and integration testing styles for sagas
- you need to mock call/select effects without hitting real APIs

## When to avoid
- you don't use redux-saga
- you've migrated to Redux Toolkit with RTK Query or sagas-free patterns
- you need a library actively adding features for newer redux-saga versions

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, mocking
- domain: testing, frontend, developer-tools
- platform: -
- tags: redux-saga, unit-testing, integration-testing, tdd, bdd, assertions, nodejs, javascript

## Member repositories
- jfairbank/redux-saga-test-plan (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.500323+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-30T05:08:24.848314+00:00, confidence not recorded.
  - readme: https://github.com/jfairbank/redux-saga-test-plan (fetched 2026-08-28T04:04:06.500323+00:00, sha cb2371124be8)
  - homepage: http://redux-saga-test-plan.jeremyfairbank.com (fetched 2026-08-29T12:20:19.737831+00:00, sha 237e2d5b9625)
  - site_page: http://redux-saga-test-plan.jeremyfairbank.com/getting-started.html (fetched 2026-08-29T12:20:19.745234+00:00, sha 95838bf97407)
  - registry_npm: https://registry.npmjs.org/redux-saga-test-plan (fetched 2026-08-29T12:20:19.748432+00:00, sha b01e19c54077)
  - site_page: http://redux-saga-test-plan.jeremyfairbank.com/integration-testing/mocking (fetched 2026-08-29T12:20:19.746906+00:00, sha 1752d55c4913)
- Data as of 2026-08-30T08:39:29.467469+00:00.
