Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytest-databases

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-databases

Reusable database fixtures for any and all databases.

  • 0.10.0
  • Source
  • PyPI
  • Socket score

Maintainers
1

Pytest Databases

Reusable test fixtures for any and all databases.

ProjectStatus
CI/CDLatest Release ci Documentation Building
QualityCoverage Quality Gate Status Maintainability Rating Reliability Rating Security Rating
PackagePyPI - Version PyPI - Support Python Versions
CommunityDiscord Matrix Medium Twitter Blog
MetaLitestar Project types - Mypy License - MIT Litestar Sponsors linting - Ruff code style - Ruff

[!WARNING]

Please note that pytest-databases is currently in a pre-release stage of development. This means the library is still under active development, and its initial API is subject to change. We encourage developers to experiment with pytest-databases and provide feedback, but we recommend against using it in production environments until a stable release is available.`

About

The pytest-databases library aims to make testing with a database as simple as possible. It is designed to offer pre-configured testing setups for many different types and versions of databases.

Features

pytest-databases currently utilizes docker compose (or the legacy docker-compose) commands to manage the startup and shutdown of each database service. The following databases are currently available:

  • Postgres: Version 12, 13, 14, 15, 16 and 17 are available
  • MySQL: Version 5.6, 5.7 and 8 are available
  • Oracle: Version 18c XE and 23C Free are available
  • SQL Server: Version 2022 is available
  • Google AlloyDB Omni: Simplified Omni installation for easy testing.
  • Google Spanner: The latest cloud-emulator from Google is available
  • Google BigQuery: Unofficial BigQuery emulator
  • CockroachDB: Version latest is available
  • Redis: Latest version
  • Valkey: Latest version
  • Dragonfly: Latest version
  • KeyDB: Latest version
  • Elasticsearch: Version 7 and 8 are available
  • Azure blob storage: Via azurite

Contributing

All Litestar projects will always be a community-centered, available for contributions of any size.

Before contributing, please review the contribution guide.

If you have any questions, reach out to us on Discord, our org-wide GitHub discussions page, or the project-specific GitHub discussions page.


Litestar Logo - Light
A Litestar Organization Project

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc