Commit Graph

479 Commits

Author SHA1 Message Date
debugtalk
0025bb21f6 fix: keep negative index in jmespath unchanged when converting pytest files 2022-03-22 17:00:09 +08:00
debugtalk
1bcbc19651 fix: unittests 2022-03-21 15:16:09 +08:00
xucong053
b583e3cce1 fix: bugfix 2021-07-18 16:02:47 +08:00
xucong053
dd05e920fa fix: Resolve the FileNotFoundError while using subprocess on Windows 2021-07-18 15:53:03 +08:00
01382037
476578f14a tests: add test 2020-11-11 16:16:52 +08:00
debugtalk
47ee777085 fix: pickle BufferedReader TypeError in upload feature 2020-07-30 11:40:32 +08:00
debugtalk
de20ad8d2b change: override variables strategy, step variables > extracted variables from previous steps 2020-07-30 10:56:38 +08:00
jun
fa30ce3bc7 add unit test and closes #971 2020-07-28 12:49:26 +08:00
debugtalk
0fc42f77cd refactor: parameters 2020-07-06 16:15:09 +08:00
debugtalk
d71591f170 format code 2020-07-06 11:09:20 +08:00
debugtalk
3229a26e89 fix: validate with variable or function whose evaluation result is "" or not text 2020-07-06 10:50:49 +08:00
jun
4595022f62 fixed: #931 unit test parameters 2020-07-03 10:23:10 +08:00
jun
1c23d20933 test: #931 add test for parameters 2020-07-02 18:11:11 +08:00
debugtalk
62f0544aaf test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
debugtalk
4f80acced4 fix: unittests for ensure export 2020-06-23 14:43:24 +08:00
debugtalk
286dbbfe55 fix #942: type_match None 2020-06-21 15:07:54 +08:00
debugtalk
a2fc817b5e change: use private method 2020-06-21 11:47:07 +08:00
debugtalk
18e9b772fd change: make converted referenced pytest files always relative to project RootDir 2020-06-21 10:58:42 +08:00
debugtalk
64b7659a12 fix: unittests for convert_testcase_path 2020-06-20 00:22:18 +08:00
debugtalk
3e8bd4b6f0 change: rename ensure_file_abs_path_valid 2020-06-19 15:46:38 +08:00
debugtalk
11c7d30f9f fix: unittests on Windows 2020-06-17 22:31:29 +08:00
debugtalk
181b1234a8 fix: SyntaxError caused by quote in case of headers."Set-Cookie" 2020-06-15 17:36:07 +08:00
debugtalk
9f83e95974 fix: avoid '.csv' been converted to '_csv' 2020-06-15 15:07:23 +08:00
debugtalk
05fde4e254 fix: incorrect import 2020-06-14 22:10:56 +08:00
debugtalk
f4aa0b9913 fix: compatibility with different path separators of Linux and Windows 2020-06-14 22:01:09 +08:00
debugtalk
a05d590f73 fix: IndexError in ensure_file_path_valid when file_path=os.getcwd() 2020-06-14 21:15:05 +08:00
debugtalk
6f46a2f02b tests: change test module name 2020-06-14 20:15:16 +08:00
debugtalk
3c8b961400 fix: escape 5065 in variable value 2020-06-08 18:05:10 +08:00
debugtalk
34d6b4f57a fix: reload to refresh previously loaded debugtalk module 2020-06-08 17:18:25 +08:00
debugtalk
30461e8037 tests: update tests 2020-06-08 16:56:55 +08:00
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
9a7384e173 fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder 2020-06-07 22:32:49 +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
be627549e1 fix: ensure_file_path_valid for folder path 2020-06-06 22:25:50 +08:00
debugtalk
d29941124d fix: ensure generated conftest.py located in generated pytest folder 2020-06-06 22:13:59 +08:00
debugtalk
e8275ab38a refactor: ensure_file_path_valid 2020-06-06 01:01:47 +08:00
debugtalk
2b9a1e574d refactor: remove ref_flag 2020-06-05 14:27:14 +08:00
debugtalk
26732163e0 feat: extract session variable from referenced testcase step 2020-06-04 18:23:34 +08:00
debugtalk
ae42f20745 change: replace raise with exit 1 2020-06-04 15:59:02 +08:00
debugtalk
e017b9b3fd feat: hrun supports run pytest files 2020-06-03 21:20:59 +08:00
debugtalk
7476dc1343 feat: add builtin comparators for StepValidation 2020-06-03 18:00:46 +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
f87aaf5662 fix: referenced testcase should not be run duplicately 2020-06-03 16:50:53 +08:00
debugtalk
ea458a4dc0 fix: compatibility with --save-tests 2020-05-29 17:58:56 +08:00
debugtalk
45a5f1c37c change: convert lst.0.name to lst[0].name 2020-05-29 11:16:43 +08:00
debugtalk
0b8d2b1471 fix: compatibility with jmespath, headers."Content-Type" 2020-05-29 11:04:15 +08:00