debugtalk
ab8a66f2b7
test: add unittest form testcase with abnormal path
2020-06-07 12:44:02 +08:00
debugtalk
f81ff6066b
test: update tests
2020-06-07 11:21:36 +08:00
debugtalk
88712cbc69
fix: clear project_meta before each test
2020-06-07 10:59:24 +08:00
debugtalk
9a185e67e3
fix: summary path
2020-06-06 22:37:44 +08:00
debugtalk
504f07c8a3
fix: ensure_file_path_valid for folder path
2020-06-06 22:25:50 +08:00
debugtalk
b400060aca
fix: ensure generated conftest.py located in generated pytest folder
2020-06-06 22:13:59 +08:00
debugtalk
6de4de8b2f
change: rename PWD to project RootDir
2020-06-06 21:17:00 +08:00
debugtalk
0215908700
change: format copied debugtalk.py
2020-06-06 10:05:57 +08:00
debugtalk
1ecebd540b
fix: ensure project meta files exist in generated pytest folder files
2020-06-06 10:00:26 +08:00
debugtalk
91a8bcc78c
refactor: ensure_file_path_valid
2020-06-06 01:01:47 +08:00
debugtalk
98a787d787
change: add ProjectMeta debugtalk_path
2020-06-05 22:37:20 +08:00
debugtalk
866cd612f4
fix: handle cases when parent directory name includes dot/hyphen/space
2020-06-05 19:42:01 +08:00
debugtalk
87313a4f89
change: ensure testcase file exists
2020-06-05 18:41:28 +08:00
debugtalk
7c3ce78ddd
fix: make sure generated pytest folder exists
2020-06-05 17:09:16 +08:00
debugtalk
4d34d12d7e
fix: check if valid testcase file path
2020-06-05 17:04:37 +08:00
debugtalk
ee63677204
docs: add comment
2020-06-05 16:44:42 +08:00
debugtalk
d2d85e795b
fix: raise TestCaseFormatError if teststep invalid
2020-06-05 16:38:40 +08:00
debugtalk
031e1faed8
change: do not capture exception for json loads
2020-06-05 16:24:21 +08:00
debugtalk
b6e0847b33
fix: check if valid v2/v3 format
2020-06-05 16:21:38 +08:00
debugtalk
5ccb35b437
refactor: rename variable step_context
2020-06-05 15:47:45 +08:00
debugtalk
f1046d32ee
change: add --tb=short for hrun command
2020-06-05 15:02:04 +08:00
debugtalk
b32296537d
docs: update changelog
2020-06-05 14:39:21 +08:00
debugtalk
26f5313172
refactor: remove ref_flag
2020-06-05 14:27:14 +08:00
debugtalk
b7e2f37ff0
fix: miss formatting referenced testcase
2020-06-05 13:26:01 +08:00
debugtalk
dad7141c48
refactor: rename StepData export to export_vars
2020-06-05 11:39:50 +08:00
debugtalk
1b92bd8c8c
refactor: update TStep extract/export type
2020-06-05 11:36:19 +08:00
debugtalk
672b8c0307
refactor: rename TestCaseInOut field
2020-06-05 11:34:42 +08:00
debugtalk
d2088c661b
refactor: use step export to export session variables from referenced testcase
2020-06-05 11:31:51 +08:00
debugtalk
992f17dc92
refactor: rename schema to models
2020-06-05 10:38:12 +08:00
debugtalk
73d6f81a14
Merge pull request #919 from httprunner/v3
...
## 3.0.8 (2020-06-04)
**Added**
- feat: add sentry sdk
- feat: extract session variable from referenced testcase step
**Fixed**
- fix: missing request json
- fix: override testsuite/testcase config verify
- fix: only strip whitespaces and tabs, \n\r are left because they maybe used in changeset
- fix: log testcase duration before raise ValidationFailure
**Changed**
- change: add httprunner version in generated pytest file
2020-06-04 18:43:04 +08:00
debugtalk
9796c0b8a6
fix: log testcase duration before raise ValidationFailure
2020-06-04 18:36:37 +08:00
debugtalk
81d6f2d65b
feat: extract session variable from referenced testcase step
2020-06-04 18:23:34 +08:00
debugtalk
0fdb9d426a
feat: log export variables
2020-06-04 17:38:18 +08:00
debugtalk
5188f7950a
change: rename to StepRequestValidation
2020-06-04 17:04:36 +08:00
debugtalk
30f256fc0f
change: rename to StepRequestExtraction
2020-06-04 17:02:09 +08:00
debugtalk
22c27ec15a
docs: update changelog
2020-06-04 16:40:35 +08:00
debugtalk
7399fa27f5
change: update capture exception
2020-06-04 16:36:46 +08:00
debugtalk
e5383d6835
docs: update examples
2020-06-04 16:06:02 +08:00
debugtalk
9e7a2687b5
change: replace raise with exit 1
2020-06-04 15:59:02 +08:00
debugtalk
5d9e87d096
change: do not capture exception when request body is string
2020-06-04 15:42:12 +08:00
debugtalk
785610f735
fix: try json loads request_body only if it is not None
2020-06-04 15:30:34 +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
8ca177cc44
change: log current working directory when debugtalk.py not found
2020-06-04 14:34:41 +08:00
debugtalk
8bd3904e71
fix: missing request json
2020-06-04 14:14:41 +08:00
debugtalk
80b829f75f
fix: override testsuite/testcase config verify
2020-06-04 14:11:49 +08:00
debugtalk
1d0df3881f
change: capture exception with sentry
2020-06-04 12:11:27 +08:00
debugtalk
dd61c437de
change: replace logging with loguru
2020-06-04 11:24:47 +08:00
debugtalk
6506a2e864
feat: add sentry sdk
2020-06-04 11:14:04 +08:00
debugtalk
00b437620d
change: add httprunner version in generated pytest file
2020-06-04 10:39:02 +08:00
debugtalk
cc83ac9853
change: remove unused import
2020-06-04 10:19:32 +08:00
debugtalk
a40264904a
Merge pull request #918 from httprunner/v3
...
## 3.0.7 (2020-06-03)
**Added**
- feat: make pytest files in chain style
- feat: `hrun` supports run pytest files
- feat: get raw testcase model from pytest file
**Fixed**
- fix: convert jmespath.search result to int/float unintentionally
- fix: referenced testcase should not be run duplicately
- fix: requests.cookies.CookieConflictError, multiple cookies with name
- fix: missing exit code from pytest
- fix: skip invalid testcase/testsuite yaml/json file
**Changed**
- change: `har2case` generate pytest file by default
- docs: update sponsor info
2020-06-03 22:31:02 +08:00
debugtalk
a3eb909745
fix: github action
2020-06-03 22:24:09 +08:00
debugtalk
abdcd59ea2
fix: load_testcase
2020-06-03 22:07:29 +08:00
debugtalk
33be6a0bec
fix #913 : handle exception when request json is list type
2020-06-03 21:55:27 +08:00
debugtalk
0dee427135
fix #914 : handle invalid test file
2020-06-03 21:52:11 +08:00
debugtalk
804d6bcc80
fix: missing upload dependencies in tests
2020-06-03 21:41:24 +08:00
debugtalk
b06978e8ee
feat: get raw testcase model from pytest file
2020-06-03 21:36:32 +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
855edcb205
change: make private functions public
2020-06-03 19:12:06 +08:00
debugtalk
b11d2b349d
docs: update changelog and example tests
2020-06-03 18:50:18 +08:00
debugtalk
06912b75b1
fix: skip invalid testcase/testsuite yaml/json file
2020-06-03 18:44:05 +08:00
debugtalk
6410aa726d
refactor: builtin upload file method
2020-06-03 18:36:09 +08:00
debugtalk
5869b37d50
feat: add builtin comparators for StepValidation
2020-06-03 18:00:46 +08:00
debugtalk
3bc988ac1e
change: generate pytest in chain style by default
2020-06-03 17:11:08 +08:00
debugtalk
6fa680502e
feat: make pytest files in chain style
2020-06-03 16:50:53 +08:00
debugtalk
e1e7ba7bea
change: builtin comparator equal
2020-06-03 16:50:53 +08:00
debugtalk
134656789e
feat: describe testcase in chain-call style, run testcase
2020-06-03 16:50:53 +08:00
debugtalk
f18767502d
fix: compatibility
2020-06-03 16:50:53 +08:00
debugtalk
4d630f0e5f
refactor: StepValidation
2020-06-03 16:50:53 +08:00
debugtalk
cac7b21a5d
refactor: get config path with inspect stack
2020-06-03 16:50:53 +08:00
debugtalk
304c426d97
refactor: HttpRunner config & teststeps
2020-06-03 16:50:53 +08:00
debugtalk
ddd5b16882
refactor: relocate testcase definitions
2020-06-03 16:50:53 +08:00
debugtalk
a16df3daad
style: add typing
2020-06-03 16:50:53 +08:00
debugtalk
b260596bcc
change: refactor Request interface
2020-06-03 16:50:53 +08:00
debugtalk
5e3463bab2
feat: describe testcase in chain-call style
2020-06-03 16:50:53 +08:00
debugtalk
6a8e9752e1
docs: update changelog
2020-06-03 16:50:53 +08:00
debugtalk
510ff78b01
fix: requests.cookies.CookieConflictError, multiple cookies with name
2020-06-03 16:50:53 +08:00
debugtalk
a572316ca6
fix: referenced testcase should not be run duplicately
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
f61d28cd68
fix: missing exit code from pytest
2020-06-03 16:47:26 +08:00
debugtalk
ac1edaae67
fix compatibility: step_datas=>records
2020-06-03 16:46:02 +08:00
debugtalk
2e779fb491
Merge pull request #912 from httprunner/sponsor
...
docs: update sponsor info
2020-06-01 16:33:06 +08:00
debugtalk
4a2c0518ca
docs: update sponsor info
2020-06-01 15:35:21 +08:00
debugtalk
13356af274
Merge pull request #910 from httprunner/v3
...
## 3.0.6 (2020-05-29)
**Added**
- feat: make referenced testcase as pytest class
**Fixed**
- fix: ensure converted python file in utf-8 encoding
- fix: duplicate running referenced testcase
- fix: ensure compatibility issues between testcase format v2 and v3
- fix: ensure compatibility with deprecated cli args in v2, include --failfast/--report-file/--save-tests
- fix: UnicodeDecodeError when request body in protobuf
**Changed**
- change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies
- change: move all unittests to tests folder
- change: save testcase log in PWD/logs/ directory
2020-05-29 20:58:15 +08:00
debugtalk
a93faf0309
docs: update changelog
2020-05-29 20:52:08 +08:00
debugtalk
389b563718
fix: missing validate_script
2020-05-29 19:08:20 +08:00
debugtalk
f2c686dceb
fix: missing setup_hooks and teardown hooks
2020-05-29 19:03:29 +08:00
debugtalk
63f115c38e
test: update httpbin tests
2020-05-29 18:44:57 +08:00
debugtalk
16f6c12c47
change: save testcase log in PWD/logs/ dir
2020-05-29 18:20:35 +08:00
debugtalk
83b96cbcc3
fix: compatibility with --save-tests
2020-05-29 17:58:56 +08:00
debugtalk
a3af570cce
fix: compatibility when request body is None
2020-05-29 11:34:17 +08:00
debugtalk
8781554338
change: convert lst.0.name to lst[0].name
2020-05-29 11:16:43 +08:00
debugtalk
dffb096f05
fix: compatibility with jmespath, headers."Content-Type"
2020-05-29 11:04:15 +08:00
debugtalk
be6d6c93a9
change: relocate scaffold
2020-05-28 20:23:04 +08:00
debugtalk
dfb989b991
change: relocate make
2020-05-28 20:20:13 +08:00
debugtalk
f1ce02eb40
fix: check upload depencencies ready
2020-05-28 19:15:11 +08:00
debugtalk
e45c83cb5f
fix: allure ModuleNotFoundError
2020-05-28 18:58:49 +08:00
debugtalk
63925b9c25
change: move all unittests to tests folder
2020-05-28 18:46:31 +08:00