Gao fushuai in unit testing, Pytest framework, hand-in-hand teaching, high-order usage practice
1, Front back approach in xunit style
1. Pre post method of function use case
Use cases are defined in the form of functions in the module, which can be defined through setup_function and teardown_function to define the pre and post methods of function use cases. The use cases are as follows:
def setup_function(function):
print("Functi ...
Posted by jordanwb on Fri, 03 Dec 2021 17:33:48 +0100
How to do automated testing if you can't program
preface
Testers who can test and understand programming are still scarce, and most organizations may not invest in this aspect. Therefore, let ordinary test engineers simply learn to carry out automated testing, which is still in market demand.
Before, I was confused that ordinary test engineers could not deeply participate in the case prep ...
Posted by dpsd on Wed, 10 Nov 2021 19:32:40 +0100