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.1.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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ravendb_test_driver-7.2.1.tar.gz
Algorithm Hash digest
SHA256 9649722a4f39755f3095a089e55dc7b6afb472bcf8625c2f1f7e3e290d6714d0
MD5 20b03ae15b7bbf23624082e86b831aa0
BLAKE2b-256 9a94ad68c12213ecc2d5678fa95f6b6cd23b0d9904fe2837f9621dc5f98142bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ravendb_test_driver-7.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8638b9288085aa2683ad56f5ec488a832218e8ba7eb82fa67b52b439bbbc427
MD5 ccad31a50268d29d60af5b39dd775e85
BLAKE2b-256 92704ed177678daf1b5634bb8d8ed97c26435ec0bb6951e8f2c39812e29e71ea

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