Commit Graph

1339 Commits

Author SHA1 Message Date
debugtalk
f8602e0edf refactor: check if is function 2020-01-01 22:00:48 +08:00
debugtalk
095f9679f0 refactor: remove unused code 2020-01-01 21:56:07 +08:00
debugtalk
591b1d70b0 refactor: implement public method JsonSchemaChecker.validate_format 2020-01-01 21:54:58 +08:00
debugtalk
5f66dc069d feat: add json schema validation for testsutie v1 2020-01-01 21:50:00 +08:00
debugtalk
841c74bcfa feat: add json schema validation for testcase v1 2020-01-01 10:37:16 +08:00
debugtalk
dc2487d418 fix: compatibility for Python 2.7 2020-01-01 09:51:43 +08:00
debugtalk
8f826e3c02 fix: update comparator schema 2020-01-01 09:42:47 +08:00
debugtalk
4995c32e73 fix: json schema validation for testcase v2 2020-01-01 09:35:50 +08:00
debugtalk
602a251317 feat: add comparator in validate schema 2019-12-31 21:51:05 +08:00
debugtalk
10974b5ad9 fix: json schema validation for testcase v2 2019-12-31 19:18:47 +08:00
debugtalk
fffb2da7f6 change: add json schema validation for testsuite v2 2019-12-31 19:11:21 +08:00
debugtalk
6d5943c0f3 refactor: rename to JsonSchemaChecker 2019-12-31 19:09:35 +08:00
debugtalk
af1de8ed1a refactor: rename to JsonSchemaTestcaseChecker 2019-12-31 19:03:34 +08:00
debugtalk
89c5d2e227 refactor: rename to JsonSchemaCommonChecker 2019-12-31 18:59:46 +08:00
debugtalk
c334c9f335 feat: add json schema validation for testsuite 2019-12-31 18:57:20 +08:00
debugtalk
a2c2b5984a change: add verify in config json schema 2019-12-31 18:32:04 +08:00
debugtalk
4f06ca3cd1 feat: add json schema validation for testcase v2 2019-12-31 18:27:58 +08:00
debugtalk
36dd21fe2b doc: update changelog 2019-12-31 17:50:15 +08:00
debugtalk
606b959d19 fix: unittest for jsonschema checker 2019-12-31 17:49:15 +08:00
debugtalk
4aa2666ad4 refactor: rename to JsonSchemaChecker 2019-12-31 17:36:58 +08:00
debugtalk
7c44fac6d5 feat: add json schema validation for api 2019-12-31 17:31:33 +08:00
debugtalk
59dd35acff change: update json schemas v2 2019-12-31 10:49:18 +08:00
debugtalk
3213f5bf5d refactor: use loader.load_cases to validate test files 2019-12-30 21:51:30 +08:00
debugtalk
5483b49935 change: function name, validate_json_file => validate_test_file 2019-12-30 20:26:16 +08:00
debugtalk
4f0d0f0c67 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
e2d0b03cf0 change: html report name defaults to be in UTC ISO 8601 format 2019-12-29 18:48:06 +08:00
debugtalk
9ada11add5 fix: print exception string with exception stage 2019-12-29 16:23:46 +08:00
debugtalk
9a353534ee fix: catch ApiNotFound exception when loading testcases 2019-12-29 16:21:23 +08:00
debugtalk
c46a3b0155 Merge branch 'master' into leo_dev 2019-12-26 21:58:17 +08:00
debugtalk
aa2dd57b59 Merge pull request #817 from readyou/dev
Add json schema
2019-12-26 21:54:55 +08:00
debugtalk
8619bbc0b0 Merge pull request #814 from liugangabc/dev_ag
fix: 批量执行多个测试用例,当执行时间小于1秒报告会被覆盖
2019-12-26 21:54:42 +08:00
readyou
0b4c2ddc93 Merge branch 'master' into dev 2019-12-26 21:48:59 +08:00
debugtalk
4918d975bf fix: do not strip string content when preparing lazy data 2019-12-26 15:41:25 +08:00
debugtalk
2c4fce1e7c fix: eval validator python script before validating 2019-12-26 14:34:04 +08:00
L.G
6fd7b3b777 fix: 批量执行多个测试用例,当执行时间小于1秒报告会被覆盖 2019-12-26 11:05:56 +08:00
debugtalk
4cd12e3d2f fix: display validators in report when validate raised exception 2019-12-25 23:21:10 +08:00
debugtalk
8d2a212584 fix: compatibility for Python 2.7 2019-12-25 22:50:40 +08:00
debugtalk
c29d770440 test: Reset redirect in teardown 2019-12-25 22:36:17 +08:00
debugtalk
3850427c68 test: add cli test 2019-12-25 22:33:13 +08:00
debugtalk
9202b892a0 Merge pull request #810 from httprunner/leo_dev
test: update test name
2019-12-25 11:55:56 +08:00
debugtalk
38b0e5a0c5 Merge branch 'master' into leo_dev 2019-12-25 11:47:25 +08:00
debugtalk
f99281090c test: update test name 2019-12-25 11:46:26 +08:00
debugtalk
cbe1b1a2d3 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
b7d94dd8d0 fix: unittest for python2.7 2019-12-25 11:37:04 +08:00
debugtalk
13e3675357 fix: unittest 2019-12-24 23:42:55 +08:00
debugtalk
694afdb282 change: use sys.exit(code) in hrun main 2019-12-24 23:29:36 +08:00
debugtalk
9c8f8327ea feat: add exception SummaryEmpty 2019-12-24 23:07:40 +08:00
debugtalk
9bd5f62705 feat: store parse failed api/testcase/testsuite file path in logs/xxx.parse_failed.json 2019-12-24 22:55:20 +08:00
debugtalk
b245fcd370 docs: update docstring 2019-12-24 21:35:01 +08:00
debugtalk
51d79871cf change: reformat code 2019-12-24 21:33:00 +08:00