debugtalk
a0764ee5b3
fix: remove unused code
2020-03-07 23:55:21 +08:00
debugtalk
1249d4d9c1
test: move unittest aside source code
2020-03-07 23:37:47 +08:00
debugtalk
bae0bda815
test: move loader unittest aside source code
2020-03-07 23:17:40 +08:00
debugtalk
4d2ce5aff3
fix unittests
2020-03-07 23:06:29 +08:00
debugtalk
9584ddbf33
test: add test for python 3.8
2020-03-07 22:54:45 +08:00
debugtalk
e3ac76d176
fix unittests
2020-03-07 22:51:47 +08:00
debugtalk
d1fb5e6cdc
change: remove support for Python 2.7
2020-03-07 17:05:07 +08:00
debugtalk
3c9eb14409
feat: configure loguru level and log file
2020-03-07 16:40:26 +08:00
debugtalk
55ba82b1a6
change: remove dependency colorama and colorlog
2020-03-07 16:02:18 +08:00
debugtalk
7213f86f80
change:
...
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
556b6ea367
change: remove support for Python 2.7
2020-03-07 10:49:43 +08:00
debugtalk
81553d8aaf
change: replace logging with loguru
2020-03-07 10:43:53 +08:00
debugtalk
59c243f44c
feat: run testcase with debugtalk_py python script
2020-03-07 09:57:59 +08:00
debugtalk
b5dae03cc4
feat: debug_single_testcase
2020-02-29 23:28:11 +08:00
debugtalk
95cb547184
feat: use pydantic to implement testcase schema
2020-02-29 23:26:54 +08:00
debugtalk
25b2fcd0f5
fix: extract with jsonpath
2020-02-21 20:44:43 +08:00
debugtalk
c7684101ff
change: remove compatibility with 2.7/3.5
2020-02-21 19:34:28 +08:00
debugtalk
d6acdfdc69
feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5
2020-02-21 19:28:27 +08:00
debugtalk
f53f8a2353
Merge branch 'master' into web
2020-02-21 19:16:35 +08:00
debugtalk
145e32053b
Merge pull request #861 from httprunner/leo_dev
...
2.5.7
**Changed**
- feat: validate with python script, display print message
**Fixed**
- fix: validate script missing indents in html report
- fix: validate with python script, display lineno error
2020-02-21 19:12:39 +08:00
debugtalk
858231262f
Merge branch 'master' into leo_dev
2020-02-21 18:52:47 +08:00
debugtalk
134344d925
2.5.7: improve validate with python script
2020-02-21 18:52:01 +08:00
debugtalk
26b725a2df
fix: validate with python script, display lineno error
2020-02-21 18:48:33 +08:00
debugtalk
8d02029ede
fix: validate script missing indents in html report
2020-02-21 15:30:34 +08:00
debugtalk
cd59cf6fa5
init 3.0: add httprunner application
2020-02-21 15:29:20 +08:00
debugtalk
a9aeac4df8
Merge pull request #856 from httprunner/leo_dev
...
2.5.6
**Fixed**
- fix: abort test when failed to parse all cases
- fix: log error when parse failed
2020-02-19 13:06:58 +08:00
debugtalk
2fcbe2383b
Merge branch 'master' into leo_dev
2020-02-19 12:25:35 +08:00
debugtalk
f1bb63fb05
doc: update changelog
2020-02-19 12:23:05 +08:00
debugtalk
c6fb1e5af8
fix: abort test when failed to parse all cases
2020-02-19 12:00:03 +08:00
debugtalk
a1d1f2d186
fix: log error when parse failed
2020-02-19 11:41:15 +08:00
debugtalk
56a5b40ba7
feat: print HttpRunner version when executing locusts
2020-02-06 16:02:43 +08:00
debugtalk
15ecca3ef2
change: alter HttpRunner default log_level to WARNING
2020-02-05 20:29:39 +08:00
debugtalk
57c18f0c25
change: save variables and export data to xx.io.json
2020-02-05 12:43:54 +08:00
debugtalk
9d3c4b9119
Merge pull request #851 from httprunner/leo_dev
...
2.5.6
**Added**
- feat: save variables and export data to JSON files when specified `--save-tests`
2020-02-05 01:04:14 +08:00
debugtalk
c0504d8026
fix: version
2020-02-05 00:41:50 +08:00
debugtalk
459036c69f
feat: save variables and export data to JSON files when specified --save-tests
2020-02-05 00:33:10 +08:00
debugtalk
eb87811a6a
Merge pull request #850 from httprunner/leo_dev
...
2.5.4
**Fixed**
- fix: HTTP method missed "CONNECT", "TRACE"
**Changed**
- change: remove method validation from runner.Runner
2020-02-05 00:28:53 +08:00
debugtalk
030010fcb3
change: remove method validation from runner.Runner
2020-01-06 14:37:49 +08:00
debugtalk
0137294a2c
fix: HTTP method missed "CONNECT", "TRACE"
2020-01-06 14:27:03 +08:00
debugtalk
81bc88074d
Merge pull request #840 from httprunner/leo_dev
...
bump to version 2.5.4
2020-01-03 19:35:19 +08:00
debugtalk
db89306d03
Merge branch 'master' into leo_dev
2020-01-03 19:31:32 +08:00
debugtalk
b898d62608
Merge branch 'master' into leo_dev
2020-01-03 19:30:10 +08:00
debugtalk
472dc24f13
bump to version 2.5.4
2020-01-03 19:29:57 +08:00
debugtalk
594d8135c6
Merge pull request #839 from httprunner/leo_dev
...
2.5.4
**Added**
- doc: add examples in json schema
**Fixed**
- fix #835 : UnicodeDecodeError when loading json schema files
- fix: RecursionError caused by checking root dir incorrectly on Windows
2020-01-03 19:08:47 +08:00
debugtalk
0fecf5dddc
fix: unittest
2020-01-03 18:54:40 +08:00
debugtalk
196d7e3221
fix: unittest
2020-01-03 18:35:38 +08:00
debugtalk
286dc3f7d5
fix: RecursionError caused by checking root dir incorrectly on Windows
2020-01-03 18:16:05 +08:00
debugtalk
b93fae9475
doc: add examples in json schema
2020-01-03 17:45:00 +08:00
debugtalk
71b1ebcdff
refactor: remove unused code
2020-01-03 16:36:18 +08:00
debugtalk
720c02e6ab
fix #835 : UnicodeDecodeError when loading json schema files
2020-01-03 16:34:12 +08:00
debugtalk
3bac9c301f
Merge pull request #836 from httprunner/leo_dev
...
2.5.3
**Fixed**
- fix json schema: variables maybe in string type, e.g. '${prepare_variables()}'
- fix json schema: post json maybe in string type, e.g. '${prepare_post_data()}', '$post_data'
2020-01-03 14:06:40 +08:00
debugtalk
add582b17c
fix json schema: post json maybe in string type, e.g. '${prepare_post_data()}', '$post_data'
2020-01-03 11:54:31 +08:00
debugtalk
ec405b69e0
doc: report bug with device ID
2020-01-03 11:41:24 +08:00
debugtalk
83a31bc414
fix: jsonschema, variables maybe in string type, e.g. '${get_variables()}'
2020-01-02 23:19:06 +08:00
debugtalk
2046ad0fc2
Merge pull request #834 from httprunner/leo_dev
...
2.5.2
**Fixed**
- fix #826 : Windows does not support file name include ":"
- fix #819 : maximum recursion error in locusts
- fix #818 : request missed url in setup_hooks
- fix #808 : project_working_directory is not initialized when running passed in data structure
2020-01-02 22:48:32 +08:00
debugtalk
e35e0fb938
fix #808 : project_working_directory is not initialized when running passed in data structure
2020-01-02 22:33:34 +08:00
debugtalk
55d9820d8c
fix #818 : request missed url in setup_hooks
2020-01-02 21:42:49 +08:00
debugtalk
d0126eef9c
fix #819 : maximum recursion error in locusts, caused by sentry sdk
2020-01-02 21:30:34 +08:00
debugtalk
1b08e7904a
fix #826 : Windows does not support file name include ':'
2020-01-02 21:15:02 +08:00
debugtalk
459ca5f9ea
Merge pull request #833 from httprunner/leo_dev
...
2.5.1
**Fixed**
- fix: RefResolutionError on Windows platform
2020-01-02 16:15:08 +08:00
debugtalk
270bf97e4c
doc: update cli help
2020-01-02 16:06:04 +08:00
debugtalk
72c3f7aacf
tmp: remove tests on windows
2020-01-02 16:05:48 +08:00
debugtalk
36bd0bb346
tmp: run tests only on windows
2020-01-02 15:47:34 +08:00
debugtalk
794b267fea
test: run tests on windows
2020-01-02 15:38:35 +08:00
debugtalk
5eaec0ded2
update version
2020-01-02 15:31:23 +08:00
debugtalk
7dc80c9c81
fix: RefResolutionError on Windows platform
2020-01-02 15:29:37 +08:00
debugtalk
c4f5dc0d55
Merge pull request #829 from httprunner/leo_dev
...
bump to version 2.5.0
2020-01-01 23:43:23 +08:00
debugtalk
70d37d2487
Merge branch 'master' into leo_dev
2020-01-01 23:38:59 +08:00
debugtalk
9a512e91e3
bump to version 2.5.0
2020-01-01 23:37:06 +08:00
debugtalk
228e0f6828
Merge pull request #828 from httprunner/leo_dev
...
2.5.0
**Added**
- feat: add json schema validation for api
- feat: add json schema validation for testcase v1 & v2
- feat: add json schema validation for testsuite v1 & v2
**Changed**
- refactor: use loader.load_cases to validate test files
- refactor: use is_test_path to check if path is valid json/yaml file or a existed directory
- refactor: use is_test_content to check if data_structure is apis/testcases/testsuites
2020-01-01 23:32:58 +08:00
debugtalk
d5328e0da6
doc: update changelog
2020-01-01 23:25:36 +08:00
debugtalk
a3f31e8e60
doc: update changelog
2020-01-01 23:25:03 +08:00
debugtalk
46c3a43187
refactor: is_test_content
2020-01-01 23:19:29 +08:00
debugtalk
b5be7f0cb4
refactor: is_test_path
2020-01-01 22:34:41 +08:00
debugtalk
3ccf68061e
feat: check if testfile path, should be json or yaml file
2020-01-01 22:17:49 +08:00
debugtalk
b1bf06d404
doc: remove complete TODOs
2020-01-01 22:13:50 +08:00
debugtalk
dbcb3bdb8d
refactor: make JsonSchemaChecker as loader module function
2020-01-01 22:02:29 +08:00
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