Marvin's Blog【程式人生】

Ability will never catch up with the demand for it

15 Jul 2020

Python的一些测试框架。

Behave

Behavior-driven development (or BDD) is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project.

ROBOT FRAME WORK

Robot Framework is a generic open source automation framework for acceptance testing, acceptance test driven development (ATDD), and robotic process automation (RPA). It has simple plain text syntax and it can be extended easily with libraries implemented using Python or Java.

Keyword Driven.

PyTest

pytest: helps you write better programs¶

pytest, aka we-don’t-need-no-stinking-API unit test suite, is an alternative, more pythonic way of writing your tests. The best part is, the overhead for creating unit tests is close to zero!

nose2

nose2 is the successor to nose.

It’s unittest with plugins.

tox

tox aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software.

lettuce

100% inspired by cucumber which is BDD for Ruby.

Hypothesis

others

(本篇完)

Categories

Tags

comments powered by Disqus