摘要:
python操作excle在测试工作中还是很有用的,比如读取测试数据,回写测试结果到excel。 1、安装 pip install xlwt pip install xlrd 2、写excel # 导入模块,xlwt是写,xlrd是读 import xlw # 创建excel文件(打开一个对象) x 阅读全文
posted @ 2017-06-25 23:03
全栈测试笔记
阅读(1547)
评论(0)
推荐(0)
摘要:
获取链接并写入excel 除了首页(首页有置顶博客),其余页每页10篇博客 所以,先从非首页入手。 爬取思路还是和之前的一遍博客写的一样,http://www.cnblogs.com/uncleyong/p/6892688.html python3 -m pip install beautifuls 阅读全文
posted @ 2017-06-25 22:50
全栈测试笔记
阅读(863)
评论(0)
推荐(0)
摘要:
知道unittest单元测试框架的朋友应该都知道, 执行继承了unittest.TestCase的类下每个test开头的方法(就是用例)时,都会执行setUp和tearDown,如下面的例子所示: import unittest class TestSetupTeardown(unittest.Te 阅读全文
posted @ 2017-06-25 15:18
全栈测试笔记
阅读(4907)
评论(0)
推荐(0)

浙公网安备 33010602011771号