Skip to main content

Kevlar is an API regression testing framework. It uses a black-box testing methodology to ensure you maintain perfect backwards compatibility as your API evolves.

Tagline

> Keep your API bulletproof.

Installation

It’s in Python, so pip is the way to go:

pip install kevlar

Usage

There are two phases when using kevlar: 1) establishing a baseline and 2) regression testing and accepting/rejecting behavior changes.

First, you define a set of API requests to be made against an API. After kevlar runs your test suite, you’ll carefully review and generalize the responses it recieved back to make sure they’re exactly what you’re expecting.

After you’ve established a baseline, run the test suite on every commit, push, build, or even on an hourly cron job that’ll test production to make sure absolutely nothing has changed in what you’re responding to your clients with. Since APIs evolve and grow overtime, adapt your baseline as appropriate whenever you add new functionality or have differences reported from kevlar.

### Why?

Because manual smoke testing an API is really painful. It’s meant to be consumed by a machine, so let a machine do your smoke testing for you! ʕノ•ᴥ•ʔノ*:・゚✧

### Is it any good?

thumbsup:

Release files for kevlar 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kevlar 0.0.8
File Size Uploaded
kevlar-0.0.8.tar.gz 6.4 kB Details

Release files / kevlar-0.0.8.tar.gz

Download URL kevlar-0.0.8.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c76a4e81928986e3e9842e9e8df235917bd9043b6e6bbbd48ab7e9836be86691
BLAKE2b-256 checksum
How to use checksums
09a819047813283cf6ead2621f942bd776c8e7f14d854d3c917f24829a516c08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page