capter 1.0.0-alpha.14

Test your APIs with the CapterQA CLI.
capter-1.0.0-alpha.14 is not a library.

Capter CLI

test-build codecov

Capter is a lightweight end-to-end testing tool for APIs. It's language agnostic and can test APIs written in any language (Node.js, Go etc).

  • 🧑‍💻 Write tests in YAML
  • 🔎 Run the same tests locally, in CI, or as a cron job to monitor your live APIs
  • 🏃‍♂️ Takes less than a minute to get started

How it works:

Create a workflow file in a .capter folder:

# .capter/products.yml

name: products
  - name: fetch all products
    id: products
    url: ${{ env.URL }}/api/products
      - !assert status equal 200
      - !assert body isArray

  - name: fetch first product
    url: ${{ env.URL }}/api/posts/${{ }}
      - !assert equal ${{ }}

Then run the CLI:

URL=http://localhost:3000 capter test


Getting started

Follow the instructions in the documentation to get started:



The Capter CLI is provided under the MIT License. See LICENSE for details.