Go to Python test framework most complete resource summary

Source: Internet
Author: User
Tags selenium python

Transferred from: Http://www.testclass.net/list/python_list_1/xUnit Frameworks (unit test framework)
  • Frameworks Frame
    • Unittest-python's own unit test library, out of the box
    • UNITTEST2-Enhanced unit Test framework for Python 2.7 and later versions
    • Pytest-a proven and powerful unit testing framework
    • Plugincompat-pytest implementation and compatibility plugin
    • Nosetests-making Python testing a little easier
    • Unit test framework implemented by Slash-python
  • Extensions extension
    • Proboscis-Imitation testng expands the UnitTest module and nose functionality
    • Grail-Allows you to write a library of test cases step-by-step
    • Testify-Unit test framework, provides enhanced fixture, use case cutting parallel operation, Testrunner highlighting and detailed log and report functions
    • The extension of the Trial-unittest module provides command line Testrunner tools and code coverage integration, similar to nose
    • Subunit-provides the ability for unittest to execute use cases and summarize test data in another process
    • Testresources-Provides a mechanism for managing test data between multiple use cases, compatible with UnitTest
    • TestTools-unittest extension provided for twisted and bazaar
    • Sancho-Runs the use case and provides a report for the failed use case, but is limited to this
    • Zope.testing-testrunner provides a good debuge capability and integrates code coverage. Can be used with the Zope project or on non-zope projects
    • Pythoscope-Tools for creating test cases for legacy Python systems automatically or semi-automatic
    • Testlib-More powerful unittest, more assertions, support for module-level SETUP/TEARDOWN,SKIP test, etc...
    • Dutest-an Object oriented interface to retrieve unittest test cases out of doctests. Hides initialization from doctests to allowing SetUp and tearDown for each interactive example. Allows control over all the options provided by Doctest. Specialized classes allow selective test discovery across a package hierarchy.
    • Green-green is a concise and colorful testrunner, like nose.
    • DDT-let unittest support Data-driven
    • Pytractor Selenium python bindings extension. The goal is to make testing of the angular project easier
TDD \ ATDD \ BDD
  • Bdd
    • BEHAVE-BDD Frame
    • Lettuce-another BDD framework
      • Lettuce-tools-a complete set of lettuce extensions to make BDD easier
    • Contexts-python's Descriptive testing tool
    • Mamba-python's Definitive testing tool
    • Pyvows-Asynchronous behavior-driven Development test tool
    • Pytest-bdd-py.test Runner's BDD library
    • Robotframework-the most famous acceptance Test-driven development (ATDD) test framework
      • Awesome-robotframework-expansion library for various RF
    • RADISH-BDD-BDD Framework, Support Gherkin language
  • Assertions Assertion
    • Pyshould-Pyhamcrest-based should style assertion
    • Pyhamcrest-python version of Hamcrest matchers
    • Sure-python implements a test library that provides powerful and flexible assertions
    • The assertpy-jumbo simple Python Unit Test Assertion Library provides an elegant and fluent API. Python 2 and 3 are supported.
  • Mocking
    • Mocking and patching libraries implemented by Mock-python
    • Ludibrio-Elegant Test doubles framework (mocks, stubs, Spy, and Dummies) implemented in Python.
    • Responses-mock Request for Python Test ToolPak
    • DoubleX-powerful Test doubles framework
    • Freezegun-time travel through the mocking datetime module
    • Httpretty-http The requested mock tool
    • Httmock-requests's mock tool that supports Python 2.6+ and 3.2+.
    • Pretenders-Fake server for testing
    • Mock-server-Simple mock sever, support for rest and Xml-rpc APIs, and tornado-based management interface
    • vcr.py-Automatic mock HTTP interaction makes testing easier and faster

Go to Python test framework most complete resource summary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.