Commit Graph

1517 Commits

Author SHA1 Message Date
debugtalk
202f040c1c feat: convert YAML/JSON testcase to python testcase 2020-05-14 16:53:14 +08:00
debugtalk
9ba550bd9f change: format code with balck 2020-05-14 14:21:35 +08:00
debugtalk
bdd8b53d89 change: http client with pydantic models 2020-05-14 00:11:13 +08:00
debugtalk
7c78f97795 feat: run referenced testcase in v3 2020-05-11 18:36:25 +08:00
debugtalk
4fdf3d6c70 fix unittest 2020-04-23 22:38:16 +08:00
debugtalk
0861e6b687 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk
910b335e9d change: remove --failfast argument, stop test run on the first error or failure by default 2020-04-23 21:53:03 +08:00
debugtalk
ee903e12e8 fix html template 2020-04-23 21:53:03 +08:00
debugtalk
552e371426 refactor: rename project_mapping to project_meta 2020-04-23 21:53:03 +08:00
debugtalk
6bd6818d58 fix html template 2020-04-23 21:53:03 +08:00
debugtalk
48bd79d049 refactor: rename TestSuiteSummary field details to testcases 2020-04-23 21:53:03 +08:00
debugtalk
4fc95aa261 fix: session data in step_datas 2020-04-23 21:53:03 +08:00
debugtalk
7964c1324c feat: add gen_html_report method for HttpRunner class 2020-04-23 21:53:03 +08:00
debugtalk
4baa177a65 feat: start_at_iso_format 2020-04-23 21:53:03 +08:00
debugtalk
b5e587e1df change: remove total_response_time 2020-04-23 21:53:03 +08:00
debugtalk
07b36f8e68 refactor: change variable name from meta_data to session_data 2020-04-23 21:53:03 +08:00
debugtalk
7bb3d211f3 refactor: change variable name from meta_datas to step_datas 2020-04-23 21:53:03 +08:00
debugtalk
70943c058d refactor: adjust summary data structure 2020-04-23 21:53:03 +08:00
debugtalk
f31729fe3e fix html report 2020-04-23 21:53:03 +08:00
debugtalk
94821dc3b0 refactor: add typing with pydantic 2020-04-23 21:53:03 +08:00
debugtalk
4721b49a34 refactor: get testcase summary when run suite 2020-04-23 21:53:03 +08:00
debugtalk
f8c83b9396 fix 2020-04-23 21:53:03 +08:00
debugtalk
e7a16b2ca3 change: remove unused code 2020-04-23 21:53:03 +08:00
debugtalk
f0d8822928 change cli: run_path 2020-04-23 21:53:03 +08:00
debugtalk
28971f5871 change: update schema 2020-04-23 21:53:03 +08:00
debugtalk
4c835cd6b0 fix: log request & response meta data when test failed 2020-04-23 21:53:03 +08:00
debugtalk
f6d9ad8808 feat: log detailed request & response when failed 2020-04-23 21:53:03 +08:00
debugtalk
6155ce8daf feat: html report for v3 2020-04-23 21:53:03 +08:00
debugtalk
3ec2a2f29e feat: implement HttpRunner main interface v3 2020-04-23 21:53:03 +08:00
debugtalk
7204a65d32 refactor: make run_step as private method 2020-04-23 21:53:03 +08:00
debugtalk
3a34bcb36a fix: record teststep name 2020-04-23 21:53:03 +08:00
debugtalk
27c1ce9772 feat: get request & response meta datas 2020-04-23 21:53:03 +08:00
debugtalk
f3a8bd78ce fix: show assert value type when validation failed 2020-04-23 21:53:03 +08:00
debugtalk
7ac3dd22f4 refactor: validate with builtin assert methods 2020-04-23 21:53:03 +08:00
debugtalk
d7e3f558b6 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk
154db1ec01 refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk
ba91c30697 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk
02294baee9 refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk
60dbb0c8f8 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk
c4280e8754 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk
3a0ab5d019 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk
15465120b0 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk
60420cae81 fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk
6cd39f7079 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk
4f25ec0175 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk
328856ed4c test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk
dff7837030 v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk
1bad71e06d fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk
ab506b8b74 v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk
50aa3b4880 v3 test example: support session variables 2020-04-23 21:53:03 +08:00