Commit Graph

423 Commits

Author SHA1 Message Date
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
debugtalk
cab54c9c9a fix: fix compatibility for Python 2.7, circle import of parser and validator 2019-12-05 19:55:35 +08:00
debugtalk
67725d5860 refactor: move validate testcase code from validator to loader 2019-12-05 18:44:38 +08:00
debugtalk
ff24fdb9d7 2.4.0
feat: validate with python script, ref #773
2019-12-04 17:38:13 +08:00
debugtalk
9bf20b6ad0 Merge branch 'dev' of https://github.com/httprunner/HttpRunner into dev 2019-12-04 12:59:24 +08:00
debugtalk
d7abc3e4ca 2.3.3
fix #768: dump json file path error when folder name contains dot, such as a.b.c
2019-12-04 12:57:50 +08:00
debugtalk
bc9c69956e change: code format 2019-12-01 15:49:10 +08:00
fengyu
d513713ecf 增加#430修复代码测试案例 2019-11-05 19:08:07 +08:00
debugtalk
b183403b84 change: rename builtin function, sleep_N_secs => sleep 2019-11-03 15:54:59 +08:00
debugtalk
015137f733 change: rename render_html_report to gen_html_report 2019-11-02 01:01:01 +08:00
debugtalk
a585369734 change: remove summary property from HttpRunner 2019-11-02 00:02:15 +08:00