Commit Graph

447 Commits

Author SHA1 Message Date
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
debugtalk
db722c92b9 change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk
958edc6bfe fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk
d1754f6eb5 fix: base model for TestSuite 2020-04-09 21:44:37 +08:00
debugtalk
fbf2812205 change: replace jsonschema validation with pydantic 2020-04-09 18:50:06 +08:00
debugtalk
ee9eb4f1c4 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00
debugtalk
11300d1034 fix: remove unused code 2020-03-07 23:55:21 +08:00
debugtalk
1201449958 test: move unittest aside source code 2020-03-07 23:37:47 +08:00
debugtalk
7a6890f0d6 test: move loader unittest aside source code 2020-03-07 23:17:40 +08:00
debugtalk
9047d02eaf fix unittests 2020-03-07 22:51:47 +08:00
debugtalk
c4e2e74f39 change: remove support for Python 2.7 2020-03-07 17:05:07 +08:00
debugtalk
14cb49c771 feat: use pydantic to implement testcase schema 2020-02-29 23:26:54 +08:00
debugtalk
e9ca45de5f refactor: is_test_content 2020-01-01 23:19:29 +08:00
debugtalk
beac58f383 refactor: check if is function 2020-01-01 22:00:48 +08:00
debugtalk
0c0964835b refactor: remove unused code 2020-01-01 21:56:07 +08:00
debugtalk
ca2ba78268 fix: compatibility for Python 2.7 2020-01-01 09:51:43 +08:00
debugtalk
9dbf194e58 fix: json schema validation for testcase v2 2020-01-01 09:35:50 +08:00
debugtalk
0d5d3cacfb fix: unittest for jsonschema checker 2019-12-31 17:49:15 +08:00
debugtalk
891d81ddbf fix: compatibility for Python 2.7 2019-12-25 22:50:40 +08:00
debugtalk
afccf1e5f8 test: Reset redirect in teardown 2019-12-25 22:36:17 +08:00
debugtalk
3caba271b0 test: add cli test 2019-12-25 22:33:13 +08:00
debugtalk
ed6e39dd12 fix: unittest 2019-12-24 23:42:55 +08:00
debugtalk
62dc27160c fix: unittest 2019-12-17 22:39:48 +08:00
debugtalk
fffd6d5f6c fix: unittest 2019-12-17 20:42:35 +08:00
debugtalk
ac437a07a2 feat: load api content on demand 2019-12-16 18:42:40 +08:00