Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaudum/pytest-crate
A pytest plugin for CrateDB
https://github.com/chaudum/pytest-crate
Last synced: about 22 hours ago
JSON representation
A pytest plugin for CrateDB
- Host: GitHub
- URL: https://github.com/chaudum/pytest-crate
- Owner: chaudum
- License: apache-2.0
- Created: 2019-04-03T21:32:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T01:37:48.000Z (about 1 year ago)
- Last Synced: 2024-11-14T15:39:25.515Z (6 days ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
==============
Pytest CrateDB
==============``pytest-crate`` is a plugin for pytest_ for writing integration tests that
interact with CrateDB_.Usage
=====``pytest-crate`` provides a ``crate`` session fixture which downloads, starts
and stops a CrateDB node... code-block:: python
>>> def test_database_access(crate):
... # perform database access
... ...The CrateDB version can be specified using the ``--crate-version`` option when
running ``pytest``. By default, the latest stable version of CrateDB is used.See `tests/test_layer.py `_
for further examples... _pytest: https://docs.pytest.org
.. _CrateDB: https://crate.io