Skip to main content

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

akita_django-0.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

akita_django-0.1.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file akita_django-0.1.0.tar.gz.

File metadata

  • Download URL: akita_django-0.1.0.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

Hashes for akita_django-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd6df22d59b5d0cac9a028978ee347c4bdbbac0d079128545a9fd4d033f421cf
MD5 4e9acfa29336ddd98300a16540132d27
BLAKE2b-256 aa35efde9e42a5409316f3bfa94addde72801500511d98dd833b7c314406f675

See more details on using hashes here.

File details

Details for the file akita_django-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: akita_django-0.1.0-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

Hashes for akita_django-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1617d37d2c524c1e1e82a4d1d36f46fdf063577968dfca07ce59387bed7f6283
MD5 9c6ae651ba102e7e91ec486134fdd3cf
BLAKE2b-256 b3b3f1646b83f899c9bb324c6b9474051bc09f48cbb0f2f3fbecabb4dd4ed77b

See more details on using hashes here.

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