Commit Graph

433 Commits

Author SHA1 Message Date
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
debugtalk
13e3675357 fix: unittest 2019-12-24 23:42:55 +08:00
debugtalk
dfee152e26 fix: unittest 2019-12-17 22:39:48 +08:00
debugtalk
05cd609376 fix: unittest 2019-12-17 20:42:35 +08:00
debugtalk
cc20d8b397 feat: load api content on demand 2019-12-16 18:42:40 +08:00
debugtalk
a62403e158 fix: make sure flask server is up 2019-12-14 15:26:58 +08:00
debugtalk
9b5f150604 refactor: rename plugin to extention, httprunner/plugins -> httprunner/ext 2019-12-13 10:38:30 +08:00
debugtalk
ad7fa34b30 change: upload file 2019-12-12 21:58:07 +08:00
debugtalk
f07d9abcbd change: remove test which has compatibility problem in Python 2.7 temporarily 2019-12-12 19:10:03 +08:00
debugtalk
92b5400e42 test: add upload tests in v2 format 2019-12-12 17:38:56 +08:00
debugtalk
26a5d39bd7 fix: unittest for upload httpbin 2019-12-12 17:35:31 +08:00
Long
b484c24a3e bug fix: 当使用.csv文件内容来做数据驱动测试时, length_xxx函数都会失败 2019-12-11 17:06:40 +08:00
debugtalk
dda974ce1b change: make built_in comparators and functions as submodule 2019-12-11 15:38:11 +08:00
debugtalk
a8641dea34 refactor: rename module name, loader/cases -> loader/buildup 2019-12-10 16:33:37 +08:00
debugtalk
2bfad80691 refactor: remove unused code 2019-12-09 19:13:13 +08:00
debugtalk
1ac4bafd39 refactor: change function name to avoid conflict with unittest loader 2019-12-05 23:35:33 +08:00
debugtalk
a04b5e9593 refactor: make loader as submodule, split to check/locate/load/cases 2019-12-05 23:23:38 +08:00
debugtalk
d4b7d8f04f refactor: make loader as submodule 2019-12-05 20:47:51 +08:00
debugtalk
9225848ffb change: format code 2019-12-05 20:07:51 +08:00