JSON output for the --fixtures flag
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
Features
This plugin takes the output generated when running pytest with the --fixtures flag, convert it into JSON format and stream it into a file.
Requirements
You must have Python, pip and pytest to use this plugin.
Installation
You can install “pytest-json-fixtures” via pip from PyPI:
$ pip install pytest-json-fixtures
Usage
Run the command below:
$ pytest --json-fixtures
The same result you would get with pytest --fixtures will be output in JSON in a fixtures.json file, the default file name.
If you want the output on a different file, just add it after the flag:
$ pytest --json-fixtures output.json
Contributing
Contributions are very welcome.
License
Distributed under the terms of the MIT license, “pytest-json-fixtures” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-json-fixtures-0.1.2.tar.gz.
File metadata
- Download URL: pytest-json-fixtures-0.1.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91af84c0f64bd0e6ba6f2f72023c5afb784ac66367d6923c480cd3b91e37eb67
|
|
| MD5 |
b5d662ae4678c81103f6d2c5bfcf3a88
|
|
| BLAKE2b-256 |
1e2334fa58849bc86aeb0f32effd7a5787d993d39f3cfd863262f94ba1f72087
|
File details
Details for the file pytest_json_fixtures-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pytest_json_fixtures-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfe659f876058744da3505538e9b612f8af7c01c2e0a452033503ed369adb5b2
|
|
| MD5 |
5982b1ba418da72be958c7785af1dac7
|
|
| BLAKE2b-256 |
058d675ce7c6f2360b1657c753f31af5337b248736a6e156c5a9e20d02a90f6c
|