Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
泰斯特Test
testcase-automaker
提交
bb6b5319
T
testcase-automaker
项目概览
泰斯特Test
/
testcase-automaker
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
testcase-automaker
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bb6b5319
编写于
10月 13, 2019
作者:
泰斯特Test
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Lets go
上级
bc4717f7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
26 addition
and
5 deletion
+26
-5
README.md
README.md
+3
-4
Utils/amazingutils/randoms.py
Utils/amazingutils/randoms.py
+1
-0
autotest_tools/interface/http_params_generator.py
autotest_tools/interface/http_params_generator.py
+0
-0
autotest_tools/interface/http_tester.py
autotest_tools/interface/http_tester.py
+1
-1
setup.py
setup.py
+21
-0
src/__init__.py
src/__init__.py
+0
-0
未找到文件。
README.md
浏览文件 @
bb6b5319
# testcase-automaker
# testcase-automaker
测试用例自动生成器
testcase-automaker can be used to create interface testcase with different params combo base on pairwise strategy.
testcase-automaker can be used to create interface testcase with different params combo base on pairwise strategy.
installation
installation
pip install
allpairspy
pip install
testcase-automaker
best practice
best practice
from
src
.autotest_tools.interface.http_params_generator import http_params_generator
from
testcase-automaker
.autotest_tools.interface.http_params_generator import http_params_generator
params_structure = {
params_structure = {
'name': {
'name': {
...
@@ -86,4 +85,4 @@ which is a list that contains the params combo base on pairwise and the given pa
...
@@ -86,4 +85,4 @@ which is a list that contains the params combo base on pairwise and the given pa
Contact me
Contact me
523314409@qq.com
For information and suggestions you can contact me at 523314409@qq.com
\ No newline at end of file
\ No newline at end of file
Utils/amazingutils/randoms.py
浏览文件 @
bb6b5319
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
import
string
import
string
import
random
import
random
def
get_random_phone_num
():
def
get_random_phone_num
():
num_start
=
[
'134'
,
'135'
,
'136'
,
'137'
,
'138'
,
'139'
,
'150'
,
'151'
,
'152'
,
'158'
,
'159'
,
'157'
,
'182'
,
'187'
,
'188'
,
num_start
=
[
'134'
,
'135'
,
'136'
,
'137'
,
'138'
,
'139'
,
'150'
,
'151'
,
'152'
,
'158'
,
'159'
,
'157'
,
'182'
,
'187'
,
'188'
,
'147'
,
'130'
,
'131'
,
'132'
,
'155'
,
'156'
,
'185'
,
'186'
,
'133'
,
'153'
,
'180'
,
'189'
]
'147'
,
'130'
,
'131'
,
'132'
,
'155'
,
'156'
,
'185'
,
'186'
,
'133'
,
'153'
,
'180'
,
'189'
]
...
...
src/
autotest_tools/interface/http_params_generator.py
→
autotest_tools/interface/http_params_generator.py
浏览文件 @
bb6b5319
文件已移动
src/
autotest_tools/interface/http_tester.py
→
autotest_tools/interface/http_tester.py
浏览文件 @
bb6b5319
import
sys
import
sys
sys
.
path
.
append
(
"../.."
)
sys
.
path
.
append
(
"../.."
)
from
src.
autotest_tools.interface.http_params_generator
import
http_params_generator
from
autotest_tools.interface.http_params_generator
import
http_params_generator
from
Utils
import
httptools
from
Utils
import
httptools
from
ptest.plogger
import
preporter
from
ptest.plogger
import
preporter
import
requests
import
requests
...
...
setup.py
0 → 100644
浏览文件 @
bb6b5319
import
setuptools
with
open
(
"README.md"
,
"r"
,
encoding
=
'utf-8'
)
as
fh
:
long_description
=
fh
.
read
()
setuptools
.
setup
(
name
=
"testcase-automaker"
,
version
=
"1.0.0"
,
author
=
"Yuyi Shao"
,
author_email
=
"523314409@qq.com"
,
description
=
"testcase-automake base on pairwise"
,
long_description
=
long_description
,
long_description_content_type
=
"text/markdown"
,
url
=
"https://github.com/amazingTest/testcase-automaker"
,
packages
=
setuptools
.
find_packages
(),
classifiers
=
(
"Programming Language :: Python :: 3"
,
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
,
"Operating System :: OS Independent"
,
),
)
\ No newline at end of file
src/__init__.py
已删除
100644 → 0
浏览文件 @
bc4717f7
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录