Utilities for connecting Akita to Django
Project description
Akita Django Integration
This package extends django.test.Client
in order to instrument Django
integration tests, capturing requests and responses to the service under test.
You can drop in akita_django.test.Client
everywhere you use Django's Client
,
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 Django Tutorial, which implements a toy Dropbox-like file server and tests it using the Akita Django Integration.
Middleware
This package also provides a Django Middleware class that sends requests and responses to the Akita CLI, running in Daemon mode. See Django on Heroku in the Akita docs for more information.
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
Built Distribution
File details
Details for the file akita_django-0.1.1.tar.gz
.
File metadata
- Download URL: akita_django-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0274c228178e829eff8e7c282c95c90526f7bbf1432e611dc89571a9362157 |
|
MD5 | 30de45060d240d0de976536656607578 |
|
BLAKE2b-256 | c851f5b75e27606d45e763e0efc4711ec4567102cc645fa45d5747dfe10d54f2 |
File details
Details for the file akita_django-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: akita_django-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5cdf8b6e33f9f628c56e2b284be6c93e570063f64f720b965ee5fe42455cce3 |
|
MD5 | d52d4e57fcffc8cc50d8c2d67385dc25 |
|
BLAKE2b-256 | efc3bdb65edfcf23dded8c2b2580468abdb3a5e23a925bd3a6c76978c26c4d4c |