Pytest Introduction

Pytest Introduction
pytest python is a unit testing framework, similar to that comes python unittest testing framework, but simpler to use than unittest frame, more efficient. According to pytest's official website, which has the following characteristics:
  • Very easy to use, entry is simple, rich document, the document There are many examples can refer to
  • It can support a simple unit testing and functional testing of complex
  • Supports parameterized
  • Test is performed during certain tests may be skipped, or the case of certain expected failure marked Failed
  • Support to repeat the failed case
  • Support the operation by the nose, unittest test case writing
  • It has a lot of third-party plug-ins, and can be custom extensions
  • Convenient and continuous integration tool integration
 
Others blog
 
 
I installed the Mac environment after

 

 

Guess you like

Origin www.cnblogs.com/TomBombadil/p/10977847.html