# vlucas/frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.

Repository: https://github.com/vlucas/frisby
Canonical: https://ross.abutalabs.com/products/frisby
Homepage: http://frisbyjs.com
Language: JavaScript
License Family: other
Topics: testing, testing-framework, rest-api, jasmine, jest, integration-testing, hacktoberfest
Last push: 2026-01-07T17:57:29+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 61, release rhythm 35, longevity 100
- inputs: {"age_days": 5305, "days_push": 238, "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 1512, forks 196 (observed 2026-08-28T04:04:56.035041+00:00)

## What it is
Frisby.js is a REST API testing framework built on top of Jest that provides a fluent, promise-based API for testing HTTP endpoints. It includes built-in expect handlers for status codes, headers, JSON structure and types (via Joi), response times, and supports nested dependent requests and custom assertions.

## Use cases
- test rest api endpoints with jest
- assert json response structure and types
- write integration tests for http apis
- chain dependent api calls in tests
- validate api response status codes and headers
- check api response time in tests

## When to choose
- you already use Jest and want fluent REST API testing
- you need JSON schema/type assertions with Joi
- you want parallel, sandboxed HTTP test execution

## When to avoid
- you test GraphQL or non-HTTP protocols
- you need a framework-agnostic test runner
- your project does not use Node.js

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing, http-client, mocking
- domain: testing, apis, web-development, developer-tools
- platform: cli, cross-platform
- tags: rest-api-testing, jest, api-testing-framework, bdd, joi-validation, integration-testing, nodejs, javascript

## Member repositories
- vlucas/frisby (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.035041+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-30T04:32:21.485754+00:00, confidence not recorded.
  - readme: https://github.com/vlucas/frisby (fetched 2026-08-28T04:04:56.035041+00:00, sha 6bbb4ad98c49)
  - homepage: http://frisbyjs.com (fetched 2026-08-29T11:36:28.026142+00:00, sha 939a7d4c2987)
  - site_page: https://docs.frisbyjs.com/introduction/installation (fetched 2026-08-29T11:36:28.035275+00:00, sha d19a1c0885f3)
  - registry_npm: https://registry.npmjs.org/frisby (fetched 2026-08-29T11:36:28.037213+00:00, sha d63239b1beaa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
