Skip to main content

RavenDB package for writing integration tests against RavenDB server

Project description

RavenDB Test Driver

ravendb-test-driver is a package for writing integration tests against RavenDB server.

Setup

Install from PyPi:

pip install ravendb-test-driver

Usage

Inherit RavenTestDriver to your test class or create an instance within your class.

Unittest example:

from ravendb_test_driver import RavenTestDriver
from unittest import TestCase

class TestBasic(TestCase):
    def setUp(self):
        super().setUp()
        self.test_driver = RavenTestDriver()

    def test_1(self):
        with self.test_driver.get_document_store() as store:
            with store.open_session() as session:
                person = {"Name": "John"}
                session.store(person, "people1")
                session.save_changes()

PyPi

https://pypi.org/project/ravendb-test-driver/

Github

https://github.com/ravendb/ravendb-python-testdriver

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

ravendb_test_driver-7.2.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ravendb_test_driver-7.2.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ravendb_test_driver-7.2.2.tar.gz.

File metadata

  • Download URL: ravendb_test_driver-7.2.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ravendb_test_driver-7.2.2.tar.gz
Algorithm Hash digest
SHA256 7ed13984bc207efd514fd1345bc113d45a61cf719d37d6f69945eb36aed1aa2b
MD5 e9c498810846716f14e95e7b3bbccfbe
BLAKE2b-256 f094c37ff8109e8e8a1b00a80c3a9ac41925f4677dcb3f7fcf669f8c0b9b8f0e

See more details on using hashes here.

File details

Details for the file ravendb_test_driver-7.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ravendb_test_driver-7.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db13777c675aee869e391f4faf2d9e62f0f2cc19036c9db17ec6cc8e954255b6
MD5 c91a81f30f3c9119370d97c902501ebc
BLAKE2b-256 089919c19abc842033148b9cef45a00e994d4cd13eb6a4e09745f835a55647c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page