Commit c43c8887 authored by 小鹏's avatar 小鹏
Browse files

提交代码

parent 9ba7dab2
Showing with 47 additions and 0 deletions
+47 -0
demo.py 0 → 100644
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨,请访问:https://ceshiren.com/t/topic/15860'
'''
for i in range(100):
print(i)
- 复制粘贴: ctrl + c || ctrl + c
- 撤回: ctrl + z
- 当前搜索: ctrl + f
- 全局搜索: ctrl + shift + f
- 文件名搜索: ctrl + n
- 重构: shift + f6
- 查看文件代码结构: alt + 7
- 注释: ctrl + /
- 多行缩进: tab || shift + tab
- 列编辑: alt + shift + 鼠标左键长按
- 显示建议 /代码提示: alt + enter
- 智能代码补全: ctrl + alt + space
- 查看文件历史改动: show history
- 走读代码: ctrl+鼠标左键 || ctrl + alt + 方向键
- 断言
- F8: 当前代码的下一步
- F7: 代码运行下一步,如果有方法会进去执行
- alt+F8 打印变量、运行方法、修改变量
- 条件断言
main.py 0 → 100644
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨,请访问:https://ceshiren.com/t/topic/15860'
'''
import pytest
if __name__ == '__main__':
pytest.main(['--alluredir=.\\result','-vs'])
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨,请访问:https://ceshiren.com/t/topic/15860'
'''
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment