Giter Site home page Giter Site logo

chineseluo / opensourcetest Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 9.0 84.84 MB

OpenSourceTest自动化测试框架,帮您创建自动化测试项目架构,使用python灵活的编写文档化用例

Home Page: http://docs.opensourcetest.cn/

License: Apache License 2.0

Python 98.96% Batchfile 1.04%
allure api app automated-testing framework http interface pytest requests ui

opensourcetest's People

Contributors

chineseluo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opensourcetest's Issues

allure报告log中文乱码, 已用于生产环境,希望修复,框架非常好用

#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>

·þÎñÆ÷´íÎó

405 - ²»ÔÊÐíÓÃÓÚ·ÃÎÊ´ËÒ³µÄ HTTP ν´Ê¡£

ÄúÒª²éÕÒµÄÒ³ÃæÎÞ·¨ÏÔʾ£¬ÒòΪ³¢ÊÔ·ÃÎÊʱʹÓÃÁËÎÞЧ·½·¨(HTTP ν´Ê)¡£

木神大佬: 接口返回有中文时,在log里面乱码显示,希望迭代修复,

json活数据的添加方式希望能够深入添加

期望 能够以 dice的方式来进行深度定位添加数据

{
“Param”:[
{
"Key": "string",
"Value": "string",
"Type": 0
},
“data”: “hello”
]
}

如 要在Param下面的第零个值里面添加数据:{
(json["Param"][0], {"ss_key": int(time.time())}),
}

前面的json是固定写法

结果:
{
“Param”:[
{
"Key": "string",
"Value": "string",
"Type": 0,
"ss_key": "1234566456",
},
“data”: “hello”
]
}

如何减少等价类测试用例和请求参数组合测试用例

比如注册接口
/api/regist
body:
{"phone": "13728632983","email":"[email protected]","password":"123456"}

两个需求:

1、注册可以用phone,也可以用email,也可以同时填写
当参数较多时,组合情况就非常多,如何用更少的代码解决重复创建testcase 比如①只有phone,②只有email,③有phone并且有email
2、同一个参数多种测试用例,如何用更少的代码解决重复创建testcase
比如email测试 ①qq邮箱②gmail邮箱③outlook邮箱④163邮箱等等
'email':["[email protected]","[email protected]","[email protected]","[email protected]"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.