laitimes

Chapter 2 002 Interface Testing—Unittest Framework(1)

author:June software testing

What is a framework?

Framework: A collection of functional code for solving a class of things

UnitTest Framework: Python comes with a unit testing framework

Third, why use the UnitTest framework in interface testing?

Organize multiple use cases to run in bulk

Provides a rich method of assertion

Generate a test report

Fourth, the core elements of Unittest

Chapter 2 002 Interface Testing—Unittest Framework(1)

Core elements

5. Use of TestCase

Pay attention to the like message "June software test", share more software testing, automated testing, test development technology, learn together, grow together ~~! Help more small partners enter the development of the test industry ~~!

Read on