Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
school
nun
LitemallTest
Commits
c43c8887
Commit
c43c8887
authored
2 years ago
by
小鹏
Browse files
Options
Download
Email Patches
Plain Diff
提交代码
parent
9ba7dab2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
demo.py
+11
-0
demo.py
ide使用.md
+20
-0
ide使用.md
main.py
+10
-0
main.py
tests/__init__.py
+6
-0
tests/__init__.py
with
47 additions
and
0 deletions
+47
-0
demo.py
0 → 100644
+
11
-
0
View file @
c43c8887
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨,请访问:https://ceshiren.com/t/topic/15860'
'''
for
i
in
range
(
100
):
print
(
i
)
This diff is collapsed.
Click to expand it.
ide使用.md
0 → 100644
+
20
-
0
View file @
c43c8887
-
复制粘贴: 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 打印变量、运行方法、修改变量
-
条件断言
This diff is collapsed.
Click to expand it.
main.py
0 → 100644
+
10
-
0
View file @
c43c8887
#!/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'
])
This diff is collapsed.
Click to expand it.
tests/__init__.py
0 → 100644
+
6
-
0
View file @
c43c8887
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨,请访问:https://ceshiren.com/t/topic/15860'
'''
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets