Commit Graph

196 Commits

Author SHA1 Message Date
debugtalk
81d6f2d65b feat: extract session variable from referenced testcase step 2020-06-04 18:23:34 +08:00
debugtalk
22c27ec15a docs: update changelog 2020-06-04 16:40:35 +08:00
debugtalk
75228d15f0 fix: only strip whitespaces and tabs, \n\r are left because they maybe used in changeset 2020-06-04 15:21:22 +08:00
debugtalk
8bd3904e71 fix: missing request json 2020-06-04 14:14:41 +08:00
debugtalk
6506a2e864 feat: add sentry sdk 2020-06-04 11:14:04 +08:00
debugtalk
a3eb909745 fix: github action 2020-06-03 22:24:09 +08:00
debugtalk
f03f9003f9 feat: hrun supports run pytest files 2020-06-03 21:20:59 +08:00
debugtalk
0e9513afa0 change: har2case generate pytest file by default 2020-06-03 20:00:47 +08:00
debugtalk
b11d2b349d docs: update changelog and example tests 2020-06-03 18:50:18 +08:00
debugtalk
6a8e9752e1 docs: update changelog 2020-06-03 16:50:53 +08:00
debugtalk
c303fc72e4 fix: convert jmespath.search result to int/float 2020-06-03 16:50:53 +08:00
debugtalk
763301ba3f docs: update sponsor info 2020-06-03 16:50:53 +08:00
debugtalk
a93faf0309 docs: update changelog 2020-05-29 20:52:08 +08:00
debugtalk
63925b9c25 change: move all unittests to tests folder 2020-05-28 18:46:31 +08:00
debugtalk
052869d59c change: make allure-pytest, requests-toolbelt, filetype as optional dependencies 2020-05-28 18:21:33 +08:00
debugtalk
d0a289c6bf fix: ensure compatibility with deprecated cli args in v2 2020-05-28 18:10:50 +08:00
debugtalk
ab5c49c05d fix: UnicodeDecodeError when request body in protobuf 2020-05-28 14:14:45 +08:00
debugtalk
81608b3bd5 fix: ensure compatibility issues between testcase format v2 and v3 2020-05-27 18:52:45 +08:00
debugtalk
f52c28f924 fix: duplicate running referenced testcase 2020-05-27 11:21:01 +08:00
debugtalk
034759dd71 docs: add changelog 2020-05-26 21:31:59 +08:00
debugtalk
e30e6c6928 docs: add installation 2020-05-26 21:16:55 +08:00
debugtalk
04be7efa7e docs: remove v2 docs 2020-05-26 16:29:27 +08:00
debugtalk
8abf469ee0 fix: make referenced testcase as pytest class 2020-05-25 23:06:00 +08:00
debugtalk
52e76a670f feat: make referenced testcase as pytest class 2020-05-25 17:53:22 +08:00
debugtalk
5196cfa3ec fix: ensure converted python file in utf-8 encoding 2020-05-23 19:54:30 +08:00
debugtalk
07ec852f6c feat: dump log for each testcase 2020-05-22 12:57:25 +08:00
debugtalk
814da4f1e8 feat: each testcase has an unique id in uuid4 format 2020-05-21 20:14:09 +08:00
debugtalk
74f8a79e73 change: remove default added -s option for hrun 2020-05-21 18:06:52 +08:00
debugtalk
9a969b295e feat: builtin allure report 2020-05-21 17:34:51 +08:00
debugtalk
354e4c2726 feat: add default header for each testcase #721 2020-05-21 16:11:33 +08:00
debugtalk
7b819ab311 fix: ensure referenced testcase share the same session 2020-05-21 15:25:56 +08:00
debugtalk
ba7cc9df62 feat: log request/response headers and body with indent 2020-05-19 16:07:41 +08:00
debugtalk
405e20ca90 fix: remove request header startswith : e.g. :method, :scheme 2020-05-19 13:11:46 +08:00
debugtalk
990fc1de0e feat: har2case with request cookies 2020-05-19 11:57:01 +08:00
debugtalk
32e9eaad6a docs: update changelog 2020-05-19 11:08:16 +08:00
debugtalk
6f5730ce84 feat: make testsuite and run testsuite 2020-05-18 20:32:59 +08:00
debugtalk
18a39d81ab fix: handle errors when no valid testcases generated 2020-05-18 11:26:47 +08:00
debugtalk
1e27444bd2 fix: udpate examples 2020-05-18 10:48:27 +08:00
debugtalk
a5cc532541 fix: compatibility with testcase file path includes minus sign 2020-05-17 12:45:03 +08:00
debugtalk
a303610b8c docs: update changelog 2020-05-17 12:25:15 +08:00
debugtalk
4211f009c8 bump version 3.0.3 2020-05-17 10:58:14 +08:00
debugtalk
57e2407461 docs: update changelog 2020-05-16 15:25:46 +08:00
debugtalk
d3d434bde0 feat: format generated python testcases with black 2020-05-15 15:23:00 +08:00
debugtalk
910b335e9d change: remove --failfast argument, stop test run on the first error or failure by default 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
db722c92b9 change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk
7a0b1b69e4 change: make har2case as hrun sub-command, usage: hrun har2case -h 2020-04-12 17:41:29 +08:00
debugtalk
d8728e6b82 change: make startproject as hrun sub-command, usage: hrun startproject <project_name> 2020-04-12 16:59:38 +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