pytest使用笔记(一)

pytest使用笔记(一) 使用环境及预置条件:pycharm+win10+python3.6+pytest   1,创建示范的测试功能脚本,另存为test_sample.py,代码如下: # test_sample.py def func(x):   return x + 1 def test_answer():   assert func(3) == 5 def test_answer1
相关文章
相关标签/搜索