2018年6月5日

测试登录:unittest,BeautifulReport

摘要: import unittest,requestsimport ddtfrom BeautifulReport import BeautifulReport as bffrom urllib import parse@ddt.ddtclass Login(unittest.TestCase): bas 阅读全文

posted @ 2018-06-05 17:57 公子兔 阅读(295) 评论(0) 推荐(0) 编辑

单元测试unittest

摘要: class TestCalc(unittest.TestCase): def setUp(self): print('setup是啥时候运行的') #每个用例运行之前运行的 def tearDown(self): print('teardown是啥时候运行') #每个用例运行之后运行的 @class 阅读全文

posted @ 2018-06-05 17:48 公子兔 阅读(130) 评论(0) 推荐(0) 编辑

导航