471 Commits

Author SHA1 Message Date
debugtalk
4dde8dd2b2 refactor: parameters 2020-07-06 16:15:09 +08:00
debugtalk
42891569a7 format code 2020-07-06 11:09:20 +08:00
debugtalk
5673c0ca92 fix: validate with variable or function whose evaluation result is "" or not text 2020-07-06 10:50:49 +08:00
jun
c398dafcf3 fixed: #931 unit test parameters 2020-07-03 10:23:10 +08:00
jun
8c65cfe45e test: #931 add test for parameters 2020-07-02 18:11:11 +08:00
debugtalk
289afe19a0 test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
debugtalk
1f90fc9715 fix: unittests for ensure export 2020-06-23 14:43:24 +08:00
debugtalk
2b75d78df0 fix #942: type_match None 2020-06-21 15:07:54 +08:00
debugtalk
a2637fd4ee change: use private method 2020-06-21 11:47:07 +08:00
debugtalk
4ff9770c64 change: make converted referenced pytest files always relative to project RootDir 2020-06-21 10:58:42 +08:00
debugtalk
674ad151e0 fix: unittests for convert_testcase_path 2020-06-20 00:22:18 +08:00
debugtalk
0e0bc4a760 change: rename ensure_file_abs_path_valid 2020-06-19 15:46:38 +08:00
debugtalk
74dab0e8ec fix: unittests on Windows 2020-06-17 22:31:29 +08:00
debugtalk
b8b2e26b3e fix: SyntaxError caused by quote in case of headers."Set-Cookie" 2020-06-15 17:36:07 +08:00
debugtalk
38364e8960 fix: avoid '.csv' been converted to '_csv' 2020-06-15 15:07:23 +08:00
debugtalk
b3543915cd fix: incorrect import 2020-06-14 22:10:56 +08:00
debugtalk
5f17296042 fix: compatibility with different path separators of Linux and Windows 2020-06-14 22:01:09 +08:00
debugtalk
f4382139db fix: IndexError in ensure_file_path_valid when file_path=os.getcwd() 2020-06-14 21:15:05 +08:00
debugtalk
ca395b5820 tests: change test module name 2020-06-14 20:15:16 +08:00
debugtalk
2ebc8a63ce fix: escape 5065 in variable value 2020-06-08 18:05:10 +08:00
debugtalk
a33f689726 fix: reload to refresh previously loaded debugtalk module 2020-06-08 17:18:25 +08:00
debugtalk
80cbfdc3ca tests: update tests 2020-06-08 16:56:55 +08:00
debugtalk
6220367394 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
fbf5f245c7 fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder 2020-06-07 22:32:49 +08:00
debugtalk
b4ca2699fb fix: ensure variables 2020-06-07 14:50:07 +08:00
debugtalk
ab8a66f2b7 test: add unittest form testcase with abnormal path 2020-06-07 12:44:02 +08:00
debugtalk
f81ff6066b test: update tests 2020-06-07 11:21:36 +08:00
debugtalk
88712cbc69 fix: clear project_meta before each test 2020-06-07 10:59:24 +08:00
debugtalk
504f07c8a3 fix: ensure_file_path_valid for folder path 2020-06-06 22:25:50 +08:00
debugtalk
b400060aca fix: ensure generated conftest.py located in generated pytest folder 2020-06-06 22:13:59 +08:00
debugtalk
91a8bcc78c refactor: ensure_file_path_valid 2020-06-06 01:01:47 +08:00
debugtalk
26f5313172 refactor: remove ref_flag 2020-06-05 14:27:14 +08:00
debugtalk
81d6f2d65b feat: extract session variable from referenced testcase step 2020-06-04 18:23:34 +08:00
debugtalk
9e7a2687b5 change: replace raise with exit 1 2020-06-04 15:59:02 +08:00
debugtalk
f03f9003f9 feat: hrun supports run pytest files 2020-06-03 21:20:59 +08:00
debugtalk
5869b37d50 feat: add builtin comparators for StepValidation 2020-06-03 18:00:46 +08:00
debugtalk
3bc988ac1e change: generate pytest in chain style by default 2020-06-03 17:11:08 +08:00
debugtalk
6fa680502e feat: make pytest files in chain style 2020-06-03 16:50:53 +08:00
debugtalk
a572316ca6 fix: referenced testcase should not be run duplicately 2020-06-03 16:50:53 +08:00
debugtalk
83b96cbcc3 fix: compatibility with --save-tests 2020-05-29 17:58:56 +08:00
debugtalk
8781554338 change: convert lst.0.name to lst[0].name 2020-05-29 11:16:43 +08:00
debugtalk
dffb096f05 fix: compatibility with jmespath, headers."Content-Type" 2020-05-29 11:04:15 +08:00
debugtalk
be6d6c93a9 change: relocate scaffold 2020-05-28 20:23:04 +08:00
debugtalk
dfb989b991 change: relocate make 2020-05-28 20:20:13 +08:00
debugtalk
63925b9c25 change: move all unittests to tests folder 2020-05-28 18:46:31 +08:00
debugtalk
69ade18828 change: remove unittests with flask mock server 2020-05-15 23:15:03 +08:00
debugtalk
647d8c6312 change: update loader 2020-05-15 11:34:21 +08:00
debugtalk
0861e6b687 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk
3235f5b63c **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
8251c21ce1 fix: github action scripts 2020-04-13 00:03:37 +08:00