Pytest fixtures for Invenio.
Project description
Pytest fixtures for Invenio.
The package offers a number of features to help test Invenio based applications:
Less boilerplate: Using the fixtures you can keep your conftest.py short and focused.
Database re-use: database tests are running inside a transaction which is rolled back after the test.
End-to-end testing: Selenium tests can easily be switched on/off, and in case of test failures a screenshot is taken (with possibility to output in the console in base64-encoding - useful on e.g. TravisCI).
Application configuration for testing (e.g. disable CSRF protection in forms and HTTPS requirement).
JSON decoding support in Flask test client for easier API testing.
Batteries included: further fixtures help with e.g. mail sending and CLI tests.
Further documentation is available on https://pytest-invenio.readthedocs.io/.
Changes
Version 0.1.0 (released TBD)
Initial public release.
Project details
Release history Release notifications | RSS feed
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 pytest-invenio-1.0.0.tar.gz
.
File metadata
- Download URL: pytest-invenio-1.0.0.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1b2fe6765bcfa906f733932c109e81d17cc2d21912b9b4aed1c64875fea8c7 |
|
MD5 | 5369cb6d3e06b863148d72386b370f6b |
|
BLAKE2b-256 | 16e9be7051e22ef74bef878b7ebd9ca87bb88e111b07ee0a286df31d6cd78adb |
Provenance
File details
Details for the file pytest_invenio-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_invenio-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be7d1ac8725efe585779eb3ee640848d91526e2b03932e021d78bc59927ba2f |
|
MD5 | 64702e7b9c065668a1dafdfd4ccd719b |
|
BLAKE2b-256 | 361b119e1c6a1dd019f64a14bbeb9ebd85f84850aa67f69bdcbcd0fab3069b03 |