01 - Common Pytest commands

01 - Common Pytest commands 1.Run a single use case pytest -v test_day01.py::test_simple_case1 Operation effect: Administrator@PC-202102061358 MINGW64 /d/python_demo/pytest $ pytest -v test_day01.py::test_simple_case1 =========================================================================================== test session starts ========= ...

Posted by vishwavivek on Thu, 23 Sep 2021 10:21:17 -0700

Not technically, because the Pytest framework

summary pytest is a very mature and full-featured Python testing framework. Its main features are as follows: Simple and flexible, easy to use, rich documents; Support parameterization, which can fine-grained control the test cases to be tested; It can support simple unit testing and complex function testing, and can also be used for selen ...

Posted by bough on Wed, 22 Sep 2021 07:16:59 -0700

Golang benchmark - Test code performance

preface Performance is a very important indicator when optimizing code or determining algorithm selection. For example, I need to use hash algorithm for signature when making requirements recently. At first, I wanted to use md5 without thinking about it, and then a few big words popped up on the IDE: md5 has known security problems, so it is r ...

Posted by benphelps on Tue, 14 Sep 2021 12:03:01 -0700