![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python测试框架
测试那点事儿
凡事预则立不预则废;
种一棵树的最好时期是十年前,其次是现在;
努力不一定成功,不努力一定不会成功!
展开
-
运行python脚本时遇到的报错信息:IndentationError: unindent does not match any outer indentation level
错误信息:IndentationError: unindent does not match any outer indentation level,自己的运行的时候找了很久都找不到为什么报错,因为在编辑器中看不到,那是为什么呢? 原因:缩进量不统一导致(TAB键与四个空格混用),即使Tab键的长度和四个空格一样长,两者一起用依然还是会报错 解决方法: 1)在pycharm中显示空格,在设置中进行...原创 2019-03-17 00:16:02 · 786 阅读 · 0 评论 -
Python+pytest+pycharm环境安装配置(mac)
安装Python3:brew install Python 安装pytest:pip3 install pytest 接下来,将pytest应用到pycharm中: 根据项目选择对应的Python版本: 以上步骤完成后,编写pytest测试用例后,即可使用pytest运行。 ...原创 2019-03-17 18:59:22 · 5072 阅读 · 0 评论