Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 70943c058d refactor: adjust summary data structure 2020-04-23 21:53:03 +08:00
debugtalk f31729fe3e fix html report 2020-04-23 21:53:03 +08:00
debugtalk 94821dc3b0 refactor: add typing with pydantic 2020-04-23 21:53:03 +08:00
debugtalk 4721b49a34 refactor: get testcase summary when run suite 2020-04-23 21:53:03 +08:00
debugtalk f8c83b9396 fix 2020-04-23 21:53:03 +08:00
debugtalk e7a16b2ca3 change: remove unused code 2020-04-23 21:53:03 +08:00
debugtalk f0d8822928 change cli: run_path 2020-04-23 21:53:03 +08:00
debugtalk 28971f5871 change: update schema 2020-04-23 21:53:03 +08:00
debugtalk 4c835cd6b0 fix: log request & response meta data when test failed 2020-04-23 21:53:03 +08:00
debugtalk f6d9ad8808 feat: log detailed request & response when failed 2020-04-23 21:53:03 +08:00
debugtalk 6155ce8daf feat: html report for v3 2020-04-23 21:53:03 +08:00
debugtalk 3ec2a2f29e feat: implement HttpRunner main interface v3 2020-04-23 21:53:03 +08:00
debugtalk 7204a65d32 refactor: make run_step as private method 2020-04-23 21:53:03 +08:00
debugtalk 3a34bcb36a fix: record teststep name 2020-04-23 21:53:03 +08:00
debugtalk 27c1ce9772 feat: get request & response meta datas 2020-04-23 21:53:03 +08:00
debugtalk f3a8bd78ce fix: show assert value type when validation failed 2020-04-23 21:53:03 +08:00
debugtalk 7ac3dd22f4 refactor: validate with builtin assert methods 2020-04-23 21:53:03 +08:00
debugtalk d7e3f558b6 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk 154db1ec01 refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk ba91c30697 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk 02294baee9 refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk 60dbb0c8f8 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk c4280e8754 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk 3a0ab5d019 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk 15465120b0 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk 60420cae81 fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk 6cd39f7079 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk 4f25ec0175 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk 328856ed4c test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk dff7837030 v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk 1bad71e06d fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk ab506b8b74 v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk 50aa3b4880 v3 test example: support session variables 2020-04-23 21:53:03 +08:00
debugtalk 197016baf5 v3 feat: support teststep variables 2020-04-23 21:53:03 +08:00
debugtalk c31bb39d9a change v3: add basic extract 2020-04-23 21:53:03 +08:00
debugtalk a0b1ebd647 change v3: add basic validation 2020-04-23 21:53:03 +08:00
debugtalk 8b7291fa08 init v3: make http request without validation 2020-04-23 21:53:03 +08:00
debugtalk f2e09e5bba test: add testcase example, request methods testcase in hardcode 2020-04-23 21:53:03 +08:00
debugtalk 755c2b92ac test: add testcase example, set & delete cookies 2020-04-23 21:53:03 +08:00
debugtalk 8275407fa1 feat: command alias, hrun = httprunner run 2020-04-23 21:52:14 +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 2e9b7287ca fix: unittest along with code 2020-04-13 21:59:35 +08:00
debugtalk 0802f1829c fix: github action scripts 2020-04-13 00:45:58 +08:00
debugtalk fc0a10a193 change: add argument to specify yaml/json testcase file for locusts 2020-04-13 00:42:55 +08:00
debugtalk cea7f33f27 fix: check if gevent installed when running locusts 2020-04-13 00:33:11 +08:00
debugtalk 8251c21ce1 fix: github action scripts 2020-04-13 00:03:37 +08:00
debugtalk 55078099f3 fix: check if locustio installed 2020-04-12 23:58:10 +08:00
debugtalk 205b1c9a5c refactor: rename unittest file name 2020-04-12 23:39:00 +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 ac4122198f fix: github action scripts 2020-04-12 17:15:37 +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 14ace757e0 update 2020-04-12 11:12:42 +08:00
debugtalk 958edc6bfe fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk 068b4c0ca7 fix: api variables missing default value 2020-04-09 22:10:06 +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 ae033b61e9 change: remove format v2 symbol 2020-04-09 11:15:54 +08:00
debugtalk 9f7d60b16a change: remove compatibility with testsuite format v1 2020-04-09 11:08:59 +08:00
debugtalk 1d7459beb4 change: remove compatibility with testcase format v1 2020-04-09 11:00:54 +08:00
debugtalk a8075ea796 change: remove sentry sdk deps 2020-03-31 15:48:38 +08:00
debugtalk 710eb17944 bump version 3.0.1 2020-03-31 15:04:50 +08:00
debugtalk 2f9e66e6bc bump version 3.0.1 2020-03-24 21:44:40 +08:00
debugtalk e94f17652e Merge pull request #874 from httprunner/dev
remove sentry sdk
2020-03-23 17:36:07 +08:00
debugtalk 1ef968846b change: remove sentry sdk 2020-03-23 17:17:52 +08:00
debugtalk 3af671e8b4 pre release 3.0.0 2020-03-18 22:17:29 +08:00
debugtalk 3b7273d717 Merge pull request #872 from httprunner/dev
3.0-dev

**Added**

- feat: add default header `HRUN-Request-ID` for each testcase #721
2020-03-13 20:27:16 +08:00
debugtalk 5e655026ce Merge branch 'dev' of https://github.com/httprunner/HttpRunner into dev 2020-03-13 20:18:11 +08:00
debugtalk c1e6cbbe0d update changelog 2020-03-13 20:00:21 +08:00
debugtalk 3793af861f feat: save testcase HRUN-Request-ID in summary.json 2020-03-13 19:47:54 +08:00
debugtalk 7cea1e7c34 feat: add default header HRUN-Request-ID for each testcase 2020-03-13 19:36:47 +08:00
debugtalk 04ef15e778 change: prepare_log_file_abs_path 2020-03-13 18:49:49 +08:00
debugtalk 9b16be6e77 remove cli --pretty 2020-03-13 18:49:49 +08:00
debugtalk c1affe80b1 change: remove cli --validate 2020-03-13 18:49:49 +08:00
debugtalk b9c6788246 change: prepare_log_file_abs_path 2020-03-10 19:53:32 +08:00
debugtalk eb42793021 remove cli --pretty 2020-03-10 19:26:24 +08:00
debugtalk f57b50423c change: remove cli --validate 2020-03-10 19:21:50 +08:00
debugtalk 472274961c Merge pull request #869 from httprunner/dev
3.0 dev

**Added**

- feat: dump log for each testcase

**Changed**

- replace logging with [loguru](https://github.com/Delgan/loguru)
- remove support for Python 2.7
- replace string format with f-string
- remove dependency colorama and colorlog
- generate reports/logs folder in current working directory
2020-03-10 19:14:57 +08:00
debugtalk 9ffc2786f8 feat: save testcase log absolute path in summary.json 2020-03-10 19:08:11 +08:00
debugtalk 99e3942c77 feat: dump log for each testcase 2020-03-10 18:59:18 +08:00
debugtalk 43de670c95 change: remove python verison 3.8 2020-03-10 18:00:55 +08:00
debugtalk 9c86c6bfec change: generate logs folder in current working directory 2020-03-10 17:58:30 +08:00
debugtalk 24feb0a28b change: generate reports folder in current working directory 2020-03-10 17:24:19 +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 7c9a4b13fa fix unittests 2020-03-07 23:06:29 +08:00
debugtalk 61ce67f5b1 test: add test for python 3.8 2020-03-07 22:54:45 +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 4e5b848148 feat: configure loguru level and log file 2020-03-07 16:40:26 +08:00
debugtalk 29b7f3bb78 change: remove dependency colorama and colorlog 2020-03-07 16:02:18 +08:00
debugtalk 07fd45092d change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk d833596b24 change: remove support for Python 2.7 2020-03-07 10:49:43 +08:00
debugtalk f22e8f9a70 change: replace logging with loguru 2020-03-07 10:43:53 +08:00
debugtalk 83f9ec251b feat: run testcase with debugtalk_py python script 2020-03-07 09:57:59 +08:00
debugtalk c419322006 feat: debug_single_testcase 2020-02-29 23:28:11 +08:00
debugtalk 14cb49c771 feat: use pydantic to implement testcase schema 2020-02-29 23:26:54 +08:00
debugtalk 219b5c7966 fix: extract with jsonpath 2020-02-21 20:44:43 +08:00