Commit Graph

451 Commits

Author SHA1 Message Date
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
debugtalk
e62cc57839 change: relocate scaffold 2020-05-28 20:23:04 +08:00
debugtalk
7107c536dc change: relocate make 2020-05-28 20:20:13 +08:00
debugtalk
398522bd2c change: move all unittests to tests folder 2020-05-28 18:46:31 +08:00
debugtalk
94757c7bdd change: remove unittests with flask mock server 2020-05-15 23:15:03 +08:00
debugtalk
77fc3546e1 change: update loader 2020-05-15 11:34:21 +08:00
debugtalk
826fca83c2 refactor: merge v3 2020-04-23 21:53:03 +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
7bf275b7cc fix: github action scripts 2020-04-13 00:03:37 +08:00
debugtalk
b9392d7cce change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk
bf2ec77765 fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk
647368e003 fix: base model for TestSuite 2020-04-09 21:44:37 +08:00
debugtalk
b167c7d2a1 change: replace jsonschema validation with pydantic 2020-04-09 18:50:06 +08:00
debugtalk
7ba22b1389 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00
debugtalk
a0764ee5b3 fix: remove unused code 2020-03-07 23:55:21 +08:00
debugtalk
1249d4d9c1 test: move unittest aside source code 2020-03-07 23:37:47 +08:00
debugtalk
bae0bda815 test: move loader unittest aside source code 2020-03-07 23:17:40 +08:00
debugtalk
e3ac76d176 fix unittests 2020-03-07 22:51:47 +08:00
debugtalk
d1fb5e6cdc change: remove support for Python 2.7 2020-03-07 17:05:07 +08:00
debugtalk
95cb547184 feat: use pydantic to implement testcase schema 2020-02-29 23:26:54 +08:00
debugtalk
46c3a43187 refactor: is_test_content 2020-01-01 23:19:29 +08:00
debugtalk
f8602e0edf refactor: check if is function 2020-01-01 22:00:48 +08:00
debugtalk
095f9679f0 refactor: remove unused code 2020-01-01 21:56:07 +08:00
debugtalk
dc2487d418 fix: compatibility for Python 2.7 2020-01-01 09:51:43 +08:00
debugtalk
4995c32e73 fix: json schema validation for testcase v2 2020-01-01 09:35:50 +08:00
debugtalk
606b959d19 fix: unittest for jsonschema checker 2019-12-31 17:49:15 +08:00
debugtalk
8d2a212584 fix: compatibility for Python 2.7 2019-12-25 22:50:40 +08:00
debugtalk
c29d770440 test: Reset redirect in teardown 2019-12-25 22:36:17 +08:00
debugtalk
3850427c68 test: add cli test 2019-12-25 22:33:13 +08:00