Commit Graph

433 Commits

Author SHA1 Message Date
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
debugtalk
8e750950ee fix: make sure flask server is up 2019-12-14 15:26:58 +08:00
debugtalk
4c5636f44c refactor: rename plugin to extention, httprunner/plugins -> httprunner/ext 2019-12-13 10:38:30 +08:00
debugtalk
76402a2127 change: upload file 2019-12-12 21:58:07 +08:00
debugtalk
c88cd38109 change: remove test which has compatibility problem in Python 2.7 temporarily 2019-12-12 19:10:03 +08:00
debugtalk
1302ddfebd test: add upload tests in v2 format 2019-12-12 17:38:56 +08:00
debugtalk
e6abdbb2b0 fix: unittest for upload httpbin 2019-12-12 17:35:31 +08:00
Long
fdd94ce508 bug fix: 当使用.csv文件内容来做数据驱动测试时, length_xxx函数都会失败 2019-12-11 17:06:40 +08:00
debugtalk
4281031913 change: make built_in comparators and functions as submodule 2019-12-11 15:38:11 +08:00
debugtalk
5dceb5d2f4 refactor: rename module name, loader/cases -> loader/buildup 2019-12-10 16:33:37 +08:00
debugtalk
e1fd6e0176 refactor: remove unused code 2019-12-09 19:13:13 +08:00
debugtalk
b3f8412fd3 refactor: change function name to avoid conflict with unittest loader 2019-12-05 23:35:33 +08:00
debugtalk
5e23c5226b refactor: make loader as submodule, split to check/locate/load/cases 2019-12-05 23:23:38 +08:00
debugtalk
8021ec5f54 refactor: make loader as submodule 2019-12-05 20:47:51 +08:00
debugtalk
b30ed23480 change: format code 2019-12-05 20:07:51 +08:00