摘要: 之前介绍了pytest以xUnit形式来写用例,下面来介绍pytest特有的方式来写用例 1、pytest fixture实例1 代码如下 使用-s -v运行查看详情如下 这里使用的了pytest的特有的模式来写用例,使用的方式是scope方式,scope支持多种,后面会介绍 这里还使用了pytes 阅读全文
posted @ 2017-09-05 08:57 Believer007 阅读(2753) 评论(0) 推荐(0) 编辑