awesome-repositories.com
博客
awesome-repositories.com

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

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

支持 Fixture 的 Python 测试框架

排名更新于 2026年6月30日

For 带有 fixture 支持的 Python 测试框架, the strongest matches are pytest-dev/pytest (pytest is a mature Python testing framework with built-in), locustio/locust (Locust is a Python-based performance testing framework focused on) and robotframework/robotframework (Robot Framework is a keyword-driven Python test automation framework). pytest-dev/pytest-bdd and nose-devs/nose2 round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

探索提供强大测试夹具 (Fixture) 支持以管理测试状态和依赖项的 Python 测试库。

支持 Fixture 的 Python 测试框架

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

    pytest-dev/pytest

    13,645在 GitHub 上查看↗

    pytest is a testing framework for Python that provides a command-line runner for discovering and executing test suites. It is built on a modular architecture that uses standard language assertions to verify code correctness, automatically inspecting expressions to provide detailed failure reports without requiring specialized assertion methods. The framework distinguishes itself through a dependency injection system that manages setup and teardown logic by automatically resolving and injecting resources into test functions. It also features a hook-based plugin architecture that allows for dee

    pytest is a mature Python testing framework with built-in fixture management via dependency injection, parameterized tests, automatic test discovery, a hook-based plugin architecture, and detailed assertion introspection, making it an outstanding fit for your requirements.

    PythonAssertion RewritersAssertion RewritingTest Fixture Systems
    在 GitHub 上查看↗13,645
  • locustio/locustlocustio 的头像

    locustio/locust

    27,516在 GitHub 上查看↗

    Locust is a distributed performance testing framework that allows users to define complex system stress scenarios using standard Python code. By modeling concurrent users as classes with weighted tasks and lifecycle hooks, it enables the simulation of realistic user behavior across large-scale environments. The tool functions as a scalable load generator capable of orchestrating traffic across multiple worker nodes to measure system stability and responsiveness under heavy, real-world conditions. The framework is distinguished by its protocol-agnostic architecture, which supports diverse comm

    Locust is a Python-based performance testing framework focused on distributed load generation, with lifecycle hooks and event-driven architecture that can manage test setup/teardown, but it is specialized for scalability stress testing rather than general unit/integration testing with the fixture dependency injection and parameterized tests you are looking for.

    PythonTest Fixture Management
    在 GitHub 上查看↗27,516
  • robotframework/robotframeworkrobotframework 的头像

    robotframework/robotframework

    11,428在 GitHub 上查看↗

    Robot Framework is a keyword-driven automation framework designed for acceptance testing and robotic process automation. It utilizes a human-readable, tabular syntax to define test cases and workflows, separating the automation logic from the underlying implementation. By mapping plain-text keywords to executable commands, the framework enables the creation of maintainable and reusable automation sequences. The platform distinguishes itself through a modular architecture that supports the integration of custom libraries and external modules. This extensibility allows users to expand the frame

    Robot Framework is a keyword-driven Python test automation framework that supports test suites, parameterized testing, and plugin-based extensibility, but its fixture approach relies on setup/teardown keywords rather than the dependency-injection fixtures you're likely looking for, so it fits the category but is narrower in fixture management.

    PythonBusiness Process Automation ToolsSoftware TestingTest Automation Tools
    在 GitHub 上查看↗11,428
  • pytest-dev/pytest-bddpytest-dev 的头像

    pytest-dev/pytest-bdd

    1,457在 GitHub 上查看↗

    Pytest-BDD: the BDD framework for pytest

    pytest-bdd is a BDD framework built on top of pytest, so it inherits pytest's first-class fixture management, parameterized testing, auto-discovery, plugin architecture, and assertion introspection—making it a valid Python testing framework for your needs, albeit specialized for behavior-driven development.

    PythonTesting Frameworks
    在 GitHub 上查看↗1,457
  • nose-devs/nose2nose-devs 的头像

    nose-devs/nose2

    825在 GitHub 上查看↗

    The successor to nose, based on unittest2

    nose2 is a Python testing framework built on unittest2 with plugin support for auto-discovery and extensibility, making it a valid option for managing test setup/teardown and dependencies.

    PythonTesting Frameworks
    在 GitHub 上查看↗825

Related searches

  • a testing framework for Go applications
  • a testing framework for Rust projects
  • a testing framework for Dart applications
  • a testing framework for PHP applications
  • a unit testing framework for C++
  • Go 语言测试断言与 Mock 库
  • a testing framework for Ruby applications
  • 测试框架