awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索Open-source alternativesSelf-hosted software博客网站地图
项目关于How we rank媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.com博客
分类

10 个仓库

Awesome GitHub RepositoriesDatabase Testing

Frameworks for unit testing, regression testing, and finding logic bugs.

Explore 10 awesome GitHub repositories matching part of an awesome list · Database Testing. Refine with filters or upvote what's useful.

Awesome Database Testing GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • hypothesisworks/hypothesisHypothesisWorks 的头像

    HypothesisWorks/hypothesis

    8,717在 GitHub 上查看↗

    Hypothesis is a Python property-based testing library and data generation engine. It enables the discovery of edge cases and bugs by generating a wide range of randomized inputs based on defined strategies and shrinking complex failing examples to their smallest possible form. It also functions as a state machine testing framework to verify system behavior across sequences of interdependent operations. The project features a fuzzing integration layer that converts raw byte buffers from coverage-guided fuzzers into structured test cases. It includes a persistence mechanism to store and synchro

    Implements a specialized storage mechanism to track and manage the history of test cases and failures.

    Pythonfuzzingproperty-based-testingpython
    在 GitHub 上查看↗8,717
  • testcontainers/testcontainers-javatestcontainers 的头像

    testcontainers/testcontainers-java

    8,660在 GitHub 上查看↗

    Testcontainers for Java is a library for launching and managing disposable Docker containers to provide isolated dependencies for automated tests. It provides specialized provisioners for containerized databases, a manager for WebDriver browser containers, and an orchestrator for deploying multi-container applications via Docker Compose. The project ensures reproducible data states through database schema initialization and provides integration with JUnit to manage the lifecycle of external services. It supports automated browser testing by launching Selenium containers with the ability to re

    Allows running real database engines in Docker containers during tests to replace mocks or in-memory databases.

    Java
    在 GitHub 上查看↗8,660
  • hibernate/hibernate-ormhibernate 的头像

    hibernate/hibernate-orm

    6,447在 GitHub 上查看↗

    Hibernate ORM 是一个 Java 对象关系映射器,也是 Jakarta Persistence API 的完整实现。它作为 SQL 数据库抽象层,将 Java 对象模型转换为关系数据库模式,以管理数据持久化和生命周期。 该框架以其多租户数据隔离框架而著称,可在单个数据库实例中分离客户数据。它还具有数据库模式生成器,可根据实体映射自动生成和更新关系结构。 该系统涵盖了广泛的功能领域,包括事务管理、并发锁定控制以及用于审计日志的时间数据跟踪。它通过实体图策略提供数据获取优化工具,并支持向量数据和国家化字符等高级数据类型。 该项目包含一套全面的持久层测试工具,包括数据库方言过滤和规范合规性测试。

    Includes utilities to execute or skip specific tests dynamically based on the database dialect in use.

    Java
    在 GitHub 上查看↗6,447
  • threedotslabs/wild-workouts-go-ddd-exampleThreeDotsLabs 的头像

    ThreeDotsLabs/wild-workouts-go-ddd-example

    6,348在 GitHub 上查看↗

    This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin

    Ensures data persistence layers function correctly by running tests against real database engines in containers.

    Goclean-architecturecqrsddd
    在 GitHub 上查看↗6,348
  • tortoise/tortoise-ormtortoise 的头像

    tortoise/tortoise-orm

    5,582在 GitHub 上查看↗

    Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS

    Allows skipping tests based on the connected database's supported features or dialect.

    Pythonasyncasynciomysql
    在 GitHub 上查看↗5,582
  • testcontainers/testcontainers-dotnettestcontainers 的头像

    testcontainers/testcontainers-dotnet

    4,317在 GitHub 上查看↗

    Testcontainers for .NET 是一个 Docker 测试库和集成测试框架,旨在管理一次性容器的生命周期。它提供高级抽象作为 Docker API 包装器来配置临时基础设施,用真实的数据库、消息队列和搜索引擎实例替换 Mock,以确保隔离且可重现的测试环境。 该项目的特色在于构建器-配置-容器模式和动态端口绑定机制,可防止并发测试执行期间的冲突。它通过虚拟网络编排和网络别名实现可靠的服务间通信,并通过针对 HTTP 端点和 TCP 端口的基于轮询的就绪检查确保服务可用性。 该库为关系型、NoSQL 和向量数据库以及消息代理和云服务模拟器提供了专门的模块。其功能范围扩展到容器镜像配置、日志收集和网络状况模拟,以验证系统弹性。 它通过标准化的环境变量和配置文件支持连接到本地和远程 Docker 运行时。

    Provisions disposable relational, NoSQL, or vector database instances in Docker to verify data persistence and query logic.

    C#automationdockerdotnet
    在 GitHub 上查看↗4,317
  • sqlancer/sqlancersqlancer 的头像

    sqlancer/sqlancer

    1,734在 GitHub 上查看↗

    Automated testing to find logic and performance bugs in database systems

    Automated testing to find logic bugs in DBMS implementations.

    Java
    在 GitHub 上查看↗1,734
  • theory/pgtaptheory 的头像

    theory/pgtap

    1,146在 GitHub 上查看↗

    PostgreSQL Unit Testing Suite

    Unit testing framework for PostgreSQL.

    PLpgSQL
    在 GitHub 上查看↗1,146
  • dimitri/regresqldimitri 的头像

    dimitri/regresql

    353在 GitHub 上查看↗

    Regression Testing your SQL queries

    Regression testing tool for SQL queries.

    Go
    在 GitHub 上查看↗353
  • dbfit/dbfitdbfit 的头像

    dbfit/dbfit

    243在 GitHub 上查看↗

    DbFit is a database testing framework that supports easy test-driven development of your database code.

    Framework for test-driven development of database code.

    Java
    在 GitHub 上查看↗243
  1. Home
  2. Part of an Awesome List
  3. Developer Tools
  4. Database Testing

探索子标签

  • Containerized Database IntegrationUsing real database engines running in containers for integration testing instead of mocks. **Distinct from Database Testing:** Distinct from Database Testing: focuses specifically on the use of containerized engine instances for integration rather than general logic testing.
  • Database Capability-Based Test SkippingsRun a test only when the connected database supports a specified dialect or feature. **Distinct from Database Testing:** Distinct from Database Testing: focuses on conditional test execution based on database capabilities, not general database testing.