Commit Graph

1507 Commits

Author SHA1 Message Date
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
debugtalk
71e65e02d5 feat: implement HttpRunner main interface v3 2020-04-21 21:35:17 +08:00
debugtalk
8620c2e1fa refactor: make run_step as private method 2020-04-21 21:22:00 +08:00
debugtalk
f6a6e91c86 fix: record teststep name 2020-04-21 21:19:05 +08:00
debugtalk
a98d411334 feat: get request & response meta datas 2020-04-21 20:49:02 +08:00
debugtalk
a4328b7586 fix: show assert value type when validation failed 2020-04-21 15:13:48 +08:00
debugtalk
94cf2b074f refactor: validate with builtin assert methods 2020-04-21 14:54:28 +08:00
debugtalk
41f819b9cb feat: validate with functions 2020-04-21 14:45:24 +08:00
debugtalk
96b5a127cd refactor: rename TestStep model field, validators 2020-04-21 14:33:01 +08:00
debugtalk
0532e0d35d feat: validate with config/teststep/extracted variables 2020-04-21 14:26:57 +08:00
debugtalk
6a5e271acd refactor: change example file name 2020-04-21 13:30:36 +08:00
debugtalk
58cb3b0691 refactor: add argument typing 2020-04-21 13:22:40 +08:00
debugtalk
5dc580e93f refactor: replace with get_mapping_variable 2020-04-21 13:02:14 +08:00
debugtalk
01e0b278b3 feat: call with python builtin functions 2020-04-21 12:54:57 +08:00
debugtalk
836e5fd64f test: add unittests for parser 2020-04-21 12:08:21 +08:00
debugtalk
faa920d339 fix parser: parse function args and kwargs before eval function 2020-04-21 11:59:55 +08:00
debugtalk
cf3653cf18 refactor: change function name from parse_content to parse_data 2020-04-21 11:44:00 +08:00
debugtalk
8c625f08f3 refactor: implement parse_string to eval string with both variables and functions 2020-04-21 11:38:33 +08:00
debugtalk
12148a1306 test: add unittest for v3 parser 2020-04-20 18:40:36 +08:00
debugtalk
36f9af441c v3 feat: support function calls 2020-04-20 17:26:40 +08:00
debugtalk
4d69e0c858 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-20 15:46:15 +08:00
debugtalk
bd7b84d42c v3 feat: support extract session variables 2020-04-20 13:26:40 +08:00
debugtalk
39b8f74b27 v3 test example: support session variables 2020-04-20 12:49:53 +08:00
debugtalk
3051a60731 v3 feat: support teststep variables 2020-04-20 12:03:08 +08:00
debugtalk
1ce09d223c change v3: add basic extract 2020-04-19 18:19:01 +08:00
debugtalk
9aef959d7c change v3: add basic validation 2020-04-19 17:59:09 +08:00
debugtalk
f1fa62b2c4 init v3: make http request without validation 2020-04-19 12:50:42 +08:00
debugtalk
5d8b09628f test: add testcase example, request methods testcase in hardcode 2020-04-19 12:30:14 +08:00
debugtalk
e2b369b305 test: add testcase example, set & delete cookies 2020-04-18 12:20:54 +08:00
debugtalk
c537a50cc0 **Added**
- feat: implement global hooks `setup_testcase/teardown_testcase`, called before/after each testcase
- feat: implement global hooks  `setup_teststep/teardown_teststep`, called before/after each teststep

**Changed**

- remove default header `HRUN-Request-ID`, implement the same function with global hooks
2020-04-17 21:56:20 +08:00
debugtalk
ec6b600524 fix: unittest along with code 2020-04-13 21:59:35 +08:00
debugtalk
ed42f1e967 fix: github action scripts 2020-04-13 00:45:58 +08:00