Skip to main content

Utilities for connecting Akita to Django

Project description

Akita Flask Integration

This package extends flask.testing.FlaskClient in order to instrument Flask integration tests, capturing requests and responses to the service under test. You can drop in akita_flask.testing.HarClient everywhere you use Flasks's FlaskClient, and Akita will use your integration tests to build a spec for your service.

Why build specs? A spec shows your service's APIs. Using Akita to build specs from your integration tests makes it clear what APIs your code implements -- and you can diff specs, showing what impact a code change will have on your customers. For more info, see Catching Breaking Changes Faster in the Akita docs.

See it in Action

Take a look at the Akibox Flask Tutorial, which implements a toy Dropbox-like file server and tests it using the Akita Flask Integration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akita_flask-0.0.4.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

akita_flask-0.0.4-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page