zemfrog-test
Zemfrog unit testing tools
Features
- Support automatically create unit tests for API / blueprints
- Available fixtures:
- client
This is to access the Client class to interact with the API
- app_ctx
This is to enable the flask context application
- req_ctx
This is to activate the flask request context application
- user
This is to generate confirmed random users
- client
Warning
zemfrog test is available a finalizer to delete all users when the test session ends. so you need to create a special database for testing.
Usage
Install this
pip install zemfrog-test
And add it to the COMMANDS configuration in the zemfrog application.
COMMANDS = ["zemfrog_test"]
Now that you have the test command, here is a list of supported commands:
init- Initialize the tests directory in the project directory.new- Create unit tests for the API or blueprint. (The names entered must matchAPISandBLUEPRINTSconfigurations. For examplezemfrog_auth.jwt)run- To run unit tests. It doesn't work with thepytestcommand, don't know why. :/
Metadata
Release files for zemfrog-test 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zemfrog-test-1.0.3.tar.gz | 6.2 kB | Without provenance | Details for zemfrog-test-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zemfrog_test-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for zemfrog_test-1.0.3-py3-none-any.whl |
Total release size: 14.1 kB
Release files / zemfrog-test-1.0.3.tar.gz
| Download URL | zemfrog-test-1.0.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f20f19a3f08bd4d04c01660bffa6b998c4210ed1c4d7aa2ba12630c6209c3bf
|
|
BLAKE2b-256 checksum How to use checksums |
5b2b3a1f73793d7018a9562c16f991ccf93669bdd10fba623a0a8eefbfde50b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.6.9 Linux/5.4.0-70-generic
|
Release files / zemfrog_test-1.0.3-py3-none-any.whl
| Download URL | zemfrog_test-1.0.3-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
594dfbf5b10e74e5b4bf2cae6067a66c1731816e968b92c4e6561c94fc3cd87c
|
|
BLAKE2b-256 checksum How to use checksums |
f3a5055a856184744a3dd4d2bdb0ee8c839df270d70a8b2cf403a383ac9f1127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.6.9 Linux/5.4.0-70-generic
|
Security for zemfrog-test 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.