debugtalk
0c0964835b
refactor: remove unused code
2020-01-01 21:56:07 +08:00
debugtalk
c958aacc10
refactor: implement public method JsonSchemaChecker.validate_format
2020-01-01 21:54:58 +08:00
debugtalk
b3e07e9bdc
feat: add json schema validation for testsutie v1
2020-01-01 21:50:00 +08:00
debugtalk
e3842ff62d
feat: add json schema validation for testcase v1
2020-01-01 10:37:16 +08:00
debugtalk
ca2ba78268
fix: compatibility for Python 2.7
2020-01-01 09:51:43 +08:00
debugtalk
9ccb62b42e
fix: update comparator schema
2020-01-01 09:42:47 +08:00
debugtalk
9dbf194e58
fix: json schema validation for testcase v2
2020-01-01 09:35:50 +08:00
debugtalk
a04295b061
feat: add comparator in validate schema
2019-12-31 21:51:05 +08:00
debugtalk
db26e7ac19
fix: json schema validation for testcase v2
2019-12-31 19:18:47 +08:00
debugtalk
6b34cb16ab
change: add json schema validation for testsuite v2
2019-12-31 19:11:21 +08:00
debugtalk
7801ba6558
refactor: rename to JsonSchemaChecker
2019-12-31 19:09:35 +08:00
debugtalk
4417b98293
refactor: rename to JsonSchemaTestcaseChecker
2019-12-31 19:03:34 +08:00
debugtalk
50ef9c12a5
refactor: rename to JsonSchemaCommonChecker
2019-12-31 18:59:46 +08:00
debugtalk
16884093e9
feat: add json schema validation for testsuite
2019-12-31 18:57:20 +08:00
debugtalk
b5d72e27c1
change: add verify in config json schema
2019-12-31 18:32:04 +08:00
debugtalk
a5667de5e7
feat: add json schema validation for testcase v2
2019-12-31 18:27:58 +08:00
debugtalk
b457eb0fcc
doc: update changelog
2019-12-31 17:50:15 +08:00
debugtalk
0d5d3cacfb
fix: unittest for jsonschema checker
2019-12-31 17:49:15 +08:00
debugtalk
d62dbd23b0
refactor: rename to JsonSchemaChecker
2019-12-31 17:36:58 +08:00
debugtalk
f233e126b9
feat: add json schema validation for api
2019-12-31 17:31:33 +08:00
debugtalk
e77f2bb189
change: update json schemas v2
2019-12-31 10:49:18 +08:00
debugtalk
6e5b48c88d
refactor: use loader.load_cases to validate test files
2019-12-30 21:51:30 +08:00
debugtalk
e107b0a927
change: function name, validate_json_file => validate_test_file
2019-12-30 20:26:16 +08:00
debugtalk
95448357aa
Merge pull request #823 from httprunner/leo_dev
...
2.4.9
**Added**
- test: add unittest for cli
**Changed**
- change: html report name defaults to be in UTC ISO 8601 format
**Fixed**
- fix: display validators in report when validate raised exception
- fix: eval validator python script before validating
- fix: do not strip string content when preparing lazy data
- fix: catch ApiNotFound exception when loading testcases
- fix: print exception string with exception stage
2019-12-30 11:09:14 +08:00
debugtalk
b1a9c0d3cf
change: html report name defaults to be in UTC ISO 8601 format
2019-12-29 18:48:06 +08:00
debugtalk
ba4b754290
fix: print exception string with exception stage
2019-12-29 16:23:46 +08:00
debugtalk
66d6b9fbac
fix: catch ApiNotFound exception when loading testcases
2019-12-29 16:21:23 +08:00
debugtalk
ba02a0e412
Merge branch 'master' into leo_dev
2019-12-26 21:58:17 +08:00
debugtalk
8683f7e3ae
Merge pull request #817 from readyou/dev
...
Add json schema
2019-12-26 21:54:55 +08:00
debugtalk
040111a627
Merge pull request #814 from liugangabc/dev_ag
...
fix: 批量执行多个测试用例,当执行时间小于1秒报告会被覆盖
2019-12-26 21:54:42 +08:00
debugtalk
aa5689305b
fix: do not strip string content when preparing lazy data
2019-12-26 15:41:25 +08:00
debugtalk
8a8d9e53c3
fix: eval validator python script before validating
2019-12-26 14:34:04 +08:00
debugtalk
e5bc23e4cf
fix: display validators in report when validate raised exception
2019-12-25 23:21:10 +08:00
debugtalk
891d81ddbf
fix: compatibility for Python 2.7
2019-12-25 22:50:40 +08:00
debugtalk
afccf1e5f8
test: Reset redirect in teardown
2019-12-25 22:36:17 +08:00
debugtalk
3caba271b0
test: add cli test
2019-12-25 22:33:13 +08:00
debugtalk
1674cd1c12
Merge pull request #810 from httprunner/leo_dev
...
test: update test name
2019-12-25 11:55:56 +08:00
debugtalk
cc7ccbdfbb
Merge branch 'master' into leo_dev
2019-12-25 11:47:25 +08:00
debugtalk
29482b46be
test: update test name
2019-12-25 11:46:26 +08:00
debugtalk
c719347834
Merge pull request #809 from httprunner/leo_dev
...
2.4.8
**Added**
- feat: store parse failed api/testcase/testsuite file path in `logs/xxx.parse_failed.json`
- feat: add exception SummaryEmpty
**Fixed**
- fix: display request & response details in report when extraction failed
- fix: include CHANGELOG in package
2019-12-25 11:42:18 +08:00
debugtalk
db25a14c46
fix: unittest for python2.7
2019-12-25 11:37:04 +08:00
debugtalk
ed6e39dd12
fix: unittest
2019-12-24 23:42:55 +08:00
debugtalk
895f68c1f6
change: use sys.exit(code) in hrun main
2019-12-24 23:29:36 +08:00
debugtalk
1930b929ef
feat: add exception SummaryEmpty
2019-12-24 23:07:40 +08:00
debugtalk
58833cba70
feat: store parse failed api/testcase/testsuite file path in logs/xxx.parse_failed.json
2019-12-24 22:55:20 +08:00
debugtalk
433fe48e55
docs: update docstring
2019-12-24 21:35:01 +08:00
debugtalk
6f42703e76
change: reformat code
2019-12-24 21:33:00 +08:00
debugtalk
033f17294f
fix: include CHANGELOG in package
2019-12-24 20:30:26 +08:00
debugtalk
2d0a0cdae9
fix: add enum34 for Python 2.7
2019-12-24 20:21:46 +08:00
debugtalk
898d1df958
change: add HookTypeEnum
2019-12-24 20:14:59 +08:00
debugtalk
829bce64e1
fix: display request & response details in report when extraction failed
2019-12-24 19:53:46 +08:00
debugtalk
67e45f32a0
change: reformat code
2019-12-24 16:29:39 +08:00
debugtalk
e754f9aab0
Merge pull request #806 from httprunner/leo_dev
...
2.4.7
**Added**
- feat: report user id to sentry
**Fixed**
- fix #797 : locusts command error
2019-12-24 15:15:42 +08:00
debugtalk
472905c078
test: add integration test for locusts command
2019-12-24 15:07:12 +08:00
debugtalk
e39a60c57a
fix #797 : locusts command error
2019-12-24 15:04:02 +08:00
debugtalk
f8b17ad02e
feat: report user id to sentry
2019-12-23 23:31:22 +08:00
debugtalk
056bfc3c3a
Merge pull request #805 from httprunner/leo_dev
...
2.4.6
**Added**
- feat: report tests start event and running exception to sentry
**Fixed**
- fix: ensure initializing sentry_sdk on startup
2019-12-23 22:06:24 +08:00
debugtalk
c2265635bd
change: report release to sentry
2019-12-23 22:02:02 +08:00
debugtalk
aefced69ee
feat: add version tag for sentry
2019-12-23 18:44:05 +08:00
debugtalk
f750047a76
feat: report tests start event and running exception to sentry
2019-12-23 17:29:41 +08:00
debugtalk
431771c936
change: update email
2019-12-23 17:19:21 +08:00
debugtalk
a0c2dce2a3
chang: adjust sentry logo size
2019-12-23 17:08:26 +08:00
debugtalk
8b9f43bbdb
docs: add sentry sponsor logo
2019-12-23 17:02:35 +08:00
debugtalk
b2bf27583a
change: remove default issue title
2019-12-23 16:40:15 +08:00
debugtalk
1db41d9a8b
Merge branch 'master' into leo_dev
2019-12-23 16:21:55 +08:00
debugtalk
bbb78f6c76
Merge pull request #802 from httprunner/debugtalk-patch-1
...
Update issue templates
2019-12-23 11:43:52 +08:00
debugtalk
92696fdc54
update issure templates
2019-12-23 11:32:05 +08:00
debugtalk
dd560d3a0f
Merge pull request #801 from httprunner/debugtalk-patch-1
...
Create feature_request_zh.md
2019-12-23 11:10:07 +08:00
debugtalk
060efbb01a
Create feature_request_zh.md
2019-12-23 11:01:49 +08:00
debugtalk
dc6145af31
fix: ensure initializing sentry_sdk on startup
2019-12-21 17:21:00 +08:00
debugtalk
46dde54fe2
fix: init sentry_sdk before main
2019-12-21 17:08:46 +08:00
debugtalk
4c060ecc08
Merge pull request #799 from httprunner/leo_dev
...
2.4.5 (2019-12-20)
**Added**
- feat: integrate sentry sdk
**Fixed**
- fix: catch UnicodeDecodeError when json loads request body
- fix: display indented json for request json body
**Changed**
- change: detect request/response bytes encoding, instead of assuming utf-8
- refactor: make report as submodule
2019-12-20 15:54:16 +08:00
debugtalk
13acc3d795
feat: integrate sentry sdk
2019-12-20 15:50:35 +08:00
debugtalk
2d1cd6a86b
fix: html template path
2019-12-19 13:32:56 +08:00
debugtalk
7999c537b2
refactor: make report as submodule
2019-12-19 13:27:32 +08:00
debugtalk
dc096e8fee
change: relocate report template html
2019-12-19 12:56:29 +08:00
debugtalk
dccc04b8d7
fix: compatibility for Python <3.6
2019-12-18 16:54:20 +08:00
debugtalk
8ec9e4b4b7
fix: display indented json for request json body
2019-12-18 16:27:25 +08:00
debugtalk
ab804cfc7b
doc: add todo
2019-12-18 16:05:51 +08:00
debugtalk
067abe2f37
bump version to 2.4.5
2019-12-18 15:03:07 +08:00
debugtalk
767f431e0c
fix: catch UnicodeDecodeError when json loads request body
...
change: detect request/response bytes encoding, instead of assuming utf-8
2019-12-18 15:00:45 +08:00
debugtalk
d438d43eff
Merge branch 'master' of https://github.com/httprunner/HttpRunner
2019-12-18 10:40:51 +08:00
debugtalk
11a2fba8f3
Merge pull request #796 from httprunner/leo_dev
...
Merge pull request #795 from httprunner/leo_dev
2019-12-18 10:18:32 +08:00
debugtalk
f4dbc56db8
Merge branch 'master' into leo_dev
2019-12-17 23:18:30 +08:00
debugtalk
2570451007
Merge pull request #795 from httprunner/leo_dev
...
2.4.4 (2019-12-17)
**Added**
- feat: add keyword `body` to reference response body
**Changed**
- refactor: dumps request/response headers, display indented json in html report
- refactor: dumps request/response body if it is in json format, display indented json in html report
- change: unify response field(content/json/text) to `body` in html report
2019-12-17 23:15:49 +08:00
debugtalk
e222ba70dd
Merge pull request #795 from httprunner/leo_dev
...
2.4.3 (2019-12-16)
**Added**
- feat: load api content on demand
**Changed**
- refactor: use poetry>=1.0.0
- test: migrate from travis CI to github actions
- test: migrate from coveralls to codecov
- test: run matrix tests on linux/macos/~~windows~~ and Python 2.7/3.5/3.6/3.7/3.8
2019-12-17 23:15:15 +08:00
debugtalk
b3d87a8a61
Merge pull request #795 from httprunner/leo_dev
...
2.4.3 (2019-12-16)
**Added**
- feat: load api content on demand
**Changed**
- refactor: use poetry>=1.0.0
- test: migrate from travis CI to github actions
- test: migrate from coveralls to codecov
- test: run matrix tests on linux/macos/~~windows~~ and Python 2.7/3.5/3.6/3.7/3.8
2019-12-17 23:13:59 +08:00
debugtalk
aa8e90202c
Merge branch 'master' into leo_dev
2019-12-17 23:09:02 +08:00
debugtalk
22822fd917
fix: unittest for python <3.6
2019-12-17 23:04:39 +08:00
debugtalk
62dc27160c
fix: unittest
2019-12-17 22:39:48 +08:00
debugtalk
48066205a9
feat: add keyword 'body' to reference response body
...
change: unify response field(content/json/text) to 'body' in html report
2019-12-17 22:35:25 +08:00
debugtalk
d36d2bea22
fix: unittest
2019-12-17 22:09:36 +08:00
debugtalk
c93517bb40
refactor: dumps request body if it is in json format, display indented json in html report
2019-12-17 21:52:48 +08:00
debugtalk
4995a312ba
bump version to 2.4.4
2019-12-17 21:00:10 +08:00
debugtalk
da036ee347
Merge pull request #794 from httprunner/leo_dev
...
2.4.4 (2019-12-17)
**Changed**
- refactor: dumps request and response headers/body, display indented json in report
2019-12-17 20:49:43 +08:00
debugtalk
fffd6d5f6c
fix: unittest
2019-12-17 20:42:35 +08:00
debugtalk
a38f2a6e0b
refactor: dumps request and response headers/body, display indented json in report
2019-12-17 18:57:03 +08:00
debugtalk
801ac1662d
Merge pull request #789 from httprunner/leo_dev
...
2.4.3 (2019-12-16)
**Added**
- feat: load api content on demand
**Changed**
- refactor: use poetry>=1.0.0
- test: migrate from travis CI to github actions
- test: migrate from coveralls to codecov
- test: run matrix tests on linux/macos/~~windows~~ and Python 2.7/3.5/3.6/3.7/3.8
2019-12-16 23:01:32 +08:00
debugtalk
ec035da1d9
change: remove Python 3.8 temporarily
2019-12-16 19:48:03 +08:00
debugtalk
ac437a07a2
feat: load api content on demand
2019-12-16 18:42:40 +08:00