Commit Graph

2588 Commits

Author SHA1 Message Date
debugtalk
3dd08419be feat: implement HttpRunner main interface v3 2020-04-23 21:53:03 +08:00
debugtalk
90eeec1d77 refactor: make run_step as private method 2020-04-23 21:53:03 +08:00
debugtalk
c968f762a1 fix: record teststep name 2020-04-23 21:53:03 +08:00
debugtalk
3dded5c5d1 feat: get request & response meta datas 2020-04-23 21:53:03 +08:00
debugtalk
25b37ebc57 fix: show assert value type when validation failed 2020-04-23 21:53:03 +08:00
debugtalk
43c4c6590b refactor: validate with builtin assert methods 2020-04-23 21:53:03 +08:00
debugtalk
1ffe851727 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk
2c0f51041a refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk
f081cf05f2 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk
d874f3f3da refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk
d79fc26567 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk
6ea52ed3f8 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk
5ec044c1e0 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk
2b04d54db5 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk
efeafa4f0a fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk
d6afc0fbb7 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk
081679bbf5 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk
db28c0ffc0 test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk
823a5ad77c v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk
86d8f052e3 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk
9ef70bd06b v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk
cdefb46bb0 v3 test example: support session variables 2020-04-23 21:53:03 +08:00
debugtalk
af1a452190 v3 feat: support teststep variables 2020-04-23 21:53:03 +08:00
debugtalk
7f6f4c7df3 change v3: add basic extract 2020-04-23 21:53:03 +08:00
debugtalk
569e06e21f change v3: add basic validation 2020-04-23 21:53:03 +08:00
debugtalk
92d71c29cf init v3: make http request without validation 2020-04-23 21:53:03 +08:00
debugtalk
e5a4960146 test: add testcase example, request methods testcase in hardcode 2020-04-23 21:53:03 +08:00
debugtalk
06279218ea test: add testcase example, set & delete cookies 2020-04-23 21:53:03 +08:00
debugtalk
12a7f4bbd1 feat: command alias, hrun = httprunner run 2020-04-23 21:52:14 +08:00
debugtalk
6d993eae7b fix html template 2020-04-23 18:31:38 +08:00
debugtalk
2509d39f62 refactor: rename project_mapping to project_meta 2020-04-23 18:15:40 +08:00
debugtalk
3a7d9126a9 fix html template 2020-04-23 17:50:21 +08:00
debugtalk
f2006742b1 refactor: rename TestSuiteSummary field details to testcases 2020-04-23 17:49:38 +08:00
debugtalk
08a3ed890b fix: session data in step_datas 2020-04-23 17:28:47 +08:00
debugtalk
dbb3b61f18 feat: add gen_html_report method for HttpRunner class 2020-04-23 16:48:43 +08:00
debugtalk
46210c5a05 feat: start_at_iso_format 2020-04-23 16:38:25 +08:00
debugtalk
359f2f8db3 change: remove total_response_time 2020-04-23 16:07:55 +08:00
debugtalk
900d6e36d3 refactor: change variable name from meta_data to session_data 2020-04-23 15:43:55 +08:00
debugtalk
8e027d67f5 refactor: change variable name from meta_datas to step_datas 2020-04-23 14:59:04 +08:00
debugtalk
5f221e99c5 refactor: adjust summary data structure 2020-04-22 23:26:09 +08:00
debugtalk
3df31fb0c9 fix html report 2020-04-22 22:13:50 +08:00
debugtalk
310f1ea30c refactor: add typing with pydantic 2020-04-22 21:20:40 +08:00
debugtalk
0ba3bbb84f refactor: get testcase summary when run suite 2020-04-22 19:04:51 +08:00
debugtalk
85a1ef27d1 fix 2020-04-22 11:58:33 +08:00
debugtalk
5478fbe9b2 change: remove unused code 2020-04-22 10:37:42 +08:00
debugtalk
47ed8c086d change cli: run_path 2020-04-21 23:08:26 +08:00
debugtalk
499ec50886 change: update schema 2020-04-21 23:01:20 +08:00
debugtalk
d92c17abd4 fix: log request & response meta data when test failed 2020-04-21 22:51:38 +08:00
debugtalk
3a012f012e feat: log detailed request & response when failed 2020-04-21 22:42:14 +08:00
debugtalk
8f3cb320a4 feat: html report for v3 2020-04-21 22:25:03 +08:00