Skip to content

Commit

Permalink
# 增加部分功能测试
Browse files Browse the repository at this point in the history
  • Loading branch information
NHYCRaymond committed Jan 31, 2018
1 parent bc245b7 commit 56b25b8
Show file tree
Hide file tree
Showing 3 changed files with 7,316 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ celerybeat-schedule

# virtualenv
.venv/
venv/
ENV/

# Spyder project settings
Expand Down
14 changes: 7 additions & 7 deletions src/report/测试报告.html
Original file line number Diff line number Diff line change
Expand Up @@ -7103,7 +7103,7 @@ <h5>详细数据</h5>
"className": "TestDoubanApi",
"methodName": "test_douban_userinfo",
"description": "测试豆瓣获取用户api的数据",
"spendTime": "0.306 s",
"spendTime": "0.265 s",
"status": "成功",
"log": [
"Response : {'count': 20, 'start': 0, 'users': ['len', 20]}",
Expand All @@ -7115,7 +7115,7 @@ <h5>详细数据</h5>
"className": "TestGithubApi",
"methodName": "test_some_endpoint",
"description": "测试github api可用性",
"spendTime": "1.66 s",
"spendTime": "1.26 s",
"status": "成功",
"log": [
"Response : {'message': 'Not Found', 'documentation_url': 'https://developer.github.com/v3'}",
Expand All @@ -7127,7 +7127,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_1_ip_api",
"description": "测试httpbin的ip接口返回正常",
"spendTime": "1.09 s",
"spendTime": "0.898 s",
"status": "成功",
"log": [
"Response : {'ResponseType': ['type', 'dict'], 'origin': ['type', 'str']}",
Expand All @@ -7139,7 +7139,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_2_headers_api",
"description": "测试httpbin headers 接口返回正常",
"spendTime": "0.623 s",
"spendTime": "0.512 s",
"status": "成功",
"log": [
"Response : {'Connection': 'close', 'Host': 'httpbin.org', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'BaiduSpider'}",
Expand All @@ -7151,7 +7151,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_3_post_api",
"description": "测试httpbin/post接口的请求与返回结果正确",
"spendTime": "0.442 s",
"spendTime": "0.411 s",
"status": "成功",
"log": [
"Response : {'username': 'Raymond', 'password': '123456'}",
Expand All @@ -7163,8 +7163,8 @@ <h5>详细数据</h5>
"testName": "测试deafult报告",
"testAll": 5,
"testFail": 0,
"beginTime": "2018-01-31 19:42:52",
"totalTime": "4s",
"beginTime": "2018-01-31 20:27:13",
"totalTime": "3s",
"testSkip": 0,
"testError": 0
};
Expand Down
Loading

0 comments on commit 56b25b8

Please sign in to comment.