Commit Graph

65 Commits

Author SHA1 Message Date
debugtalk
915ac691ff change: override variables
(1) testcase: session variables > step variables > config variables
(2) testsuite: testcase variables > config variables
(3) testsuite testcase variables > testcase config variables
2020-06-08 16:11:06 +08:00
debugtalk
45d1f3ed65 feat: support alter response in teardown hooks 2020-06-07 21:39:46 +08:00
debugtalk
ddf5c331cc fix: ensure variables 2020-06-07 14:50:07 +08:00
debugtalk
204b013b71 test: add unittest form testcase with abnormal path 2020-06-07 12:44:02 +08:00
debugtalk
534a14e525 test: update tests 2020-06-07 11:21:36 +08:00
debugtalk
f1fb78a6e6 fix: clear project_meta before each test 2020-06-07 10:59:24 +08:00
debugtalk
6471b006cb change: format copied debugtalk.py 2020-06-06 10:05:57 +08:00
debugtalk
e8275ab38a refactor: ensure_file_path_valid 2020-06-06 01:01:47 +08:00
debugtalk
862f0b6e52 fix: handle cases when parent directory name includes dot/hyphen/space 2020-06-05 19:42:01 +08:00
debugtalk
2b9a1e574d refactor: remove ref_flag 2020-06-05 14:27:14 +08:00
debugtalk
adf0967888 refactor: use step export to export session variables from referenced testcase 2020-06-05 11:31:51 +08:00
debugtalk
528ddd0c67 refactor: rename schema to models 2020-06-05 10:38:12 +08:00
debugtalk
26732163e0 feat: extract session variable from referenced testcase step 2020-06-04 18:23:34 +08:00
debugtalk
ff3a7ed067 docs: update examples 2020-06-04 16:06:02 +08:00
debugtalk
3b3b67e90d change: add httprunner version in generated pytest file 2020-06-04 10:39:02 +08:00
debugtalk
7e1e69fb1c fix: load_testcase 2020-06-03 22:07:29 +08:00
debugtalk
8f78e41f07 docs: update changelog and example tests 2020-06-03 18:50:18 +08:00
debugtalk
59e99eeaa8 change: generate pytest in chain style by default 2020-06-03 17:11:08 +08:00
debugtalk
6b9bd46079 feat: make pytest files in chain style 2020-06-03 16:50:53 +08:00
debugtalk
1b7f9b334b feat: describe testcase in chain-call style, run testcase 2020-06-03 16:50:53 +08:00
debugtalk
ca28d1bdb3 refactor: StepValidation 2020-06-03 16:50:53 +08:00
debugtalk
a465906626 refactor: get config path with inspect stack 2020-06-03 16:50:53 +08:00
debugtalk
2b30a1337b refactor: HttpRunner config & teststeps 2020-06-03 16:50:53 +08:00
debugtalk
03c1836075 style: add typing 2020-06-03 16:50:53 +08:00
debugtalk
526b1fcbc9 change: refactor Request interface 2020-06-03 16:50:53 +08:00
debugtalk
e7aca43470 feat: describe testcase in chain-call style 2020-06-03 16:50:53 +08:00
debugtalk
47cc964ecf fix: convert jmespath.search result to int/float 2020-06-03 16:50:53 +08:00
debugtalk
051c1f26b7 change: generated pytest notice 2020-05-27 16:55:57 +08:00
debugtalk
add70330d2 fix: duplicate running referenced testcase 2020-05-27 11:21:01 +08:00
debugtalk
e278d67886 docs: add testcase fixture example to update teststep headers 2020-05-27 10:57:53 +08:00
debugtalk
d878690125 fix: insert cwd path before import referenced testcase class 2020-05-26 13:15:20 +08:00
debugtalk
e0f0ea23d3 fix: make referenced testcase as pytest class 2020-05-25 23:06:00 +08:00
debugtalk
c02ab453dc feat: make referenced testcase as pytest class 2020-05-25 17:53:22 +08:00
debugtalk
246112865b fix: ensure converted python file in utf-8 encoding 2020-05-23 19:54:30 +08:00
debugtalk
b4c7e333fc docs: add examples for session_fixture and testcase_fixture 2020-05-22 15:34:47 +08:00
debugtalk
a8be9c86c0 docs: add examples for session_fixture and testcase_fixture 2020-05-22 14:53:54 +08:00
debugtalk
28cfb628ad fix: ensure referenced testcase share the same session 2020-05-21 15:25:56 +08:00
debugtalk
c2ee26d5b5 change: testsuite pytest dirname 2020-05-19 10:43:36 +08:00
debugtalk
3c48078c22 test: update examples 2020-05-18 23:22:03 +08:00
debugtalk
9dcf54a5a6 feat: testcase config get variables by call function 2020-05-18 22:49:58 +08:00
debugtalk
7ebb1696c7 feat: testsuite config get variables by call function 2020-05-18 22:38:59 +08:00
debugtalk
5b7bcea3d0 feat: make testsuite and run testsuite 2020-05-18 20:32:59 +08:00
debugtalk
670d0db64f change: add origin yaml/json testcase path in generated python testcases 2020-05-17 11:10:13 +08:00
debugtalk
2cd9eba6a3 refactor: use HttpRunner as testcase base class 2020-05-15 20:07:18 +08:00
debugtalk
2f93b2b73a change: simplify testcase import 2020-05-15 16:41:54 +08:00
debugtalk
598d660b6e change: rename schema model name and class name 2020-05-15 00:04:18 +08:00
debugtalk
f88845d9d4 change: python testcase template 2020-05-14 22:41:35 +08:00
debugtalk
ba0611a09a feat: convert YAML/JSON testcase to python testcase 2020-05-14 16:53:14 +08:00
debugtalk
f3ca17febd feat: run referenced testcase in v3 2020-05-11 18:36:25 +08:00
debugtalk
826fca83c2 refactor: merge v3 2020-04-23 21:53:03 +08:00