Commit Graph

169 Commits

Author SHA1 Message Date
debugtalk
3003faeb19 change: remove default added -s option for hrun 2020-05-21 18:06:52 +08:00
debugtalk
2f7e8d7446 feat: builtin allure report 2020-05-21 17:34:51 +08:00
debugtalk
293df5a191 feat: add default header for each testcase #721 2020-05-21 16:11:33 +08:00
debugtalk
28cfb628ad fix: ensure referenced testcase share the same session 2020-05-21 15:25:56 +08:00
debugtalk
7158128fef feat: log request/response headers and body with indent 2020-05-19 16:07:41 +08:00
debugtalk
8b0f31bd24 fix: remove request header startswith : e.g. :method, :scheme 2020-05-19 13:11:46 +08:00
debugtalk
cb62ad0f93 feat: har2case with request cookies 2020-05-19 11:57:01 +08:00
debugtalk
c13598d2af docs: update changelog 2020-05-19 11:08:16 +08:00
debugtalk
5b7bcea3d0 feat: make testsuite and run testsuite 2020-05-18 20:32:59 +08:00
debugtalk
a17ff355a2 fix: handle errors when no valid testcases generated 2020-05-18 11:26:47 +08:00
debugtalk
1413f5a8a1 fix: udpate examples 2020-05-18 10:48:27 +08:00
debugtalk
f3f2ed10f5 fix: compatibility with testcase file path includes minus sign 2020-05-17 12:45:03 +08:00
debugtalk
bf96c6519a docs: update changelog 2020-05-17 12:25:15 +08:00
debugtalk
2e46ce6889 bump version 3.0.3 2020-05-17 10:58:14 +08:00
debugtalk
a971c164ee docs: update changelog 2020-05-16 15:25:46 +08:00
debugtalk
953fb26c64 feat: format generated python testcases with black 2020-05-15 15:23:00 +08:00
debugtalk
c21de865f3 change: remove --failfast argument, stop test run on the first error or failure by default 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
b9392d7cce change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk
8a39bbb06a change: make har2case as hrun sub-command, usage: hrun har2case -h 2020-04-12 17:41:29 +08:00
debugtalk
2f73d5021b change: make startproject as hrun sub-command, usage: hrun startproject <project_name> 2020-04-12 16:59:38 +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
456e966570 change: remove compatibility with testsuite format v1 2020-04-09 11:08:59 +08:00
debugtalk
3f0cbc2245 change: remove compatibility with testcase format v1 2020-04-09 11:00:54 +08:00
debugtalk
2a0607299f bump version 3.0.1 2020-03-31 15:04:50 +08:00
debugtalk
31e5803bcf bump version 3.0.1 2020-03-24 21:44:40 +08:00
debugtalk
913fd89368 change: remove sentry sdk 2020-03-23 17:17:52 +08:00
debugtalk
0921ad38e4 update changelog 2020-03-13 20:00:21 +08:00
debugtalk
a8879fbc97 remove cli --pretty 2020-03-13 18:49:49 +08:00
debugtalk
21542b1f99 change: remove cli --validate 2020-03-13 18:49:49 +08:00
debugtalk
856295a68d feat: dump log for each testcase 2020-03-10 18:59:18 +08:00
debugtalk
ffbab95259 change: remove python verison 3.8 2020-03-10 18:00:55 +08:00
debugtalk
57040ad4ae change: generate logs folder in current working directory 2020-03-10 17:58:30 +08:00
debugtalk
99df56512c change: generate reports folder in current working directory 2020-03-10 17:24:19 +08:00
debugtalk
55ba82b1a6 change: remove dependency colorama and colorlog 2020-03-07 16:02:18 +08:00
debugtalk
7213f86f80 change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
556b6ea367 change: remove support for Python 2.7 2020-03-07 10:49:43 +08:00
debugtalk
81553d8aaf change: replace logging with loguru 2020-03-07 10:43:53 +08:00
debugtalk
134344d925 2.5.7: improve validate with python script 2020-02-21 18:52:01 +08:00
debugtalk
f1bb63fb05 doc: update changelog 2020-02-19 12:23:05 +08:00
debugtalk
15ecca3ef2 change: alter HttpRunner default log_level to WARNING 2020-02-05 20:29:39 +08:00
debugtalk
c0504d8026 fix: version 2020-02-05 00:41:50 +08:00
debugtalk
459036c69f feat: save variables and export data to JSON files when specified --save-tests 2020-02-05 00:33:10 +08:00
debugtalk
030010fcb3 change: remove method validation from runner.Runner 2020-01-06 14:37:49 +08:00
debugtalk
0137294a2c fix: HTTP method missed "CONNECT", "TRACE" 2020-01-06 14:27:03 +08:00
debugtalk
286dc3f7d5 fix: RecursionError caused by checking root dir incorrectly on Windows 2020-01-03 18:16:05 +08:00
debugtalk
b93fae9475 doc: add examples in json schema 2020-01-03 17:45:00 +08:00
debugtalk
720c02e6ab fix #835: UnicodeDecodeError when loading json schema files 2020-01-03 16:34:12 +08:00
debugtalk
add582b17c fix json schema: post json maybe in string type, e.g. '${prepare_post_data()}', '$post_data' 2020-01-03 11:54:31 +08:00