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
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
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
0a7b696d8e
feat: sort request and teststep by custom order
2020-05-28 13:00:54 +08:00
debugtalk
fe4f7d6df3
test: add unittest for ensure_testcase_v3
2020-05-28 11:30:46 +08:00
debugtalk
780e5b3416
fix: compatibility with v2, body.lst.0.name
2020-05-27 22:01:20 +08:00
debugtalk
0cdaa7f433
fix: compatibility with v2, headers.Content-Type
2020-05-27 21:29:37 +08:00
debugtalk
dd3a3de9b3
fix: keep testcase key order
2020-05-27 21:11:30 +08:00
debugtalk
082cb12e7f
fix: ensure pytest files are in python module, generate __init__.py on demand
2020-05-27 21:03:58 +08:00
debugtalk
1cebbd0869
fix: ensure file name not startswith digit
2020-05-27 20:42:56 +08:00
debugtalk
f43ac3b9c1
fix: validate field with variable or function
2020-05-27 19:53:29 +08:00
debugtalk
81608b3bd5
fix: ensure compatibility issues between testcase format v2 and v3
2020-05-27 18:52:45 +08:00
debugtalk
c2241346e5
change: generated pytest notice
2020-05-27 16:55:57 +08:00
debugtalk
f52c28f924
fix: duplicate running referenced testcase
2020-05-27 11:21:01 +08:00
debugtalk
524650d533
docs: add testcase fixture example to update teststep headers
2020-05-27 10:57:53 +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
68afa0a0d9
fix: insert cwd path before import referenced testcase class
2020-05-26 13:15:20 +08:00
debugtalk
8abf469ee0
fix: make referenced testcase as pytest class
2020-05-25 23:06:00 +08:00
debugtalk
a284971dbf
change: adjust code
2020-05-25 20:11:52 +08:00
debugtalk
b855306027
feat: cache converted pytest files, avoid duplicate making
2020-05-25 18:23:54 +08:00
debugtalk
52e76a670f
feat: make referenced testcase as pytest class
2020-05-25 17:53:22 +08:00
debugtalk
e35e56148e
change: load_project_meta only once by default
2020-05-25 17:05:39 +08:00
debugtalk
24db93f76a
refactor: rename HttpRunner run to run_testcase
2020-05-24 16:03:48 +08:00
debugtalk
5196cfa3ec
fix: ensure converted python file in utf-8 encoding
2020-05-23 19:54:30 +08:00
debugtalk
d44ab5b99d
docs: add examples for session_fixture and testcase_fixture
2020-05-22 15:34:47 +08:00
debugtalk
fc6c8e2da0
Merge pull request #905 from httprunner/v3
...
## 3.0.5 (2020-05-22)
**Added**
- feat: each testcase has an unique id in uuid4 format
- feat: add default header `HRUN-Request-ID` for each testcase #721
- feat: builtin allure report
- feat: dump log for each testcase
**Fixed**
- fix: ensure referenced testcase share the same session
**Changed**
- change: remove default added `-s` option for hrun
2020-05-22 15:20:22 +08:00
debugtalk
bbc7f387ee
fix: github action, test package installation
2020-05-22 15:14:18 +08:00
debugtalk
2d000b28a8
change: format code with black
2020-05-22 15:08:45 +08:00
debugtalk
78db9d162a
Merge branch 'master' into v3
2020-05-22 14:59:50 +08:00
debugtalk
12a67438a9
docs: add examples for session_fixture and testcase_fixture
2020-05-22 14:53:54 +08:00
debugtalk
055fae6d93
test: add test for debugging pytest
2020-05-22 14:47:12 +08:00
debugtalk
9327b232bc
feat: log request cookies
2020-05-22 13:28:56 +08:00
debugtalk
349d4b7751
fix: parse config name
2020-05-22 13:13:46 +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
a273acbc0c
change: update allure report meta, title and description
2020-05-21 18:07:56 +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
393a18758b
Merge pull request #903 from httprunner/v3
...
docs: update README
2020-05-19 22:14:35 +08:00
debugtalk
52cac1e44f
docs: update README
2020-05-19 22:07:17 +08:00
debugtalk
ef53fff421
Merge pull request #902 from httprunner/v3
...
## 3.0.4 (2020-05-19)
**Added**
- feat: make testsuite and run testsuite
- feat: testcase/testsuite config support getting variables by function
- feat: har2case with request cookies
- feat: log request/response headers and body with indent
**Fixed**
- fix: extract response cookies
- fix: handle errors when no valid testcases generated
**Changed**
- change: har2case do not ignore request headers, except for header startswith :
2020-05-19 20:56:09 +08:00
debugtalk
ba7cc9df62
feat: log request/response headers and body with indent
2020-05-19 16:07:41 +08:00
debugtalk
aa8a21577e
bump version to 3.0.4
2020-05-19 15:51:20 +08:00
debugtalk
405e20ca90
fix: remove request header startswith : e.g. :method, :scheme
2020-05-19 13:11:46 +08:00
debugtalk
4aeb418f60
fix: remove cookie in request headers
2020-05-19 12:56:18 +08:00
debugtalk
d8032c2f89
change: har2case do not ignore request headers
2020-05-19 11:59:25 +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
5a506f1767
change: format pytest case after all testcases generated
2020-05-19 11:02:18 +08:00
debugtalk
ec744f9dce
change: testsuite pytest dirname
2020-05-19 10:43:36 +08:00
debugtalk
2063bf81d6
test: update examples
2020-05-18 23:22:03 +08:00
debugtalk
870cc9f18b
feat: testcase config get variables by call function
2020-05-18 22:49:58 +08:00
debugtalk
49e84b537e
feat: testsuite config get variables by call function
2020-05-18 22:38:59 +08:00
debugtalk
6f5730ce84
feat: make testsuite and run testsuite
2020-05-18 20:32:59 +08:00
debugtalk
65adffb7d6
refactor: make testcase
2020-05-18 15:55:38 +08:00
debugtalk
dee208640a
change: split load_test_file
2020-05-18 13:07:57 +08:00
debugtalk
18a39d81ab
fix: handle errors when no valid testcases generated
2020-05-18 11:26:47 +08:00
debugtalk
ed2ca33f65
change: validate testcase error message
2020-05-18 11:00:51 +08:00
debugtalk
24f216d501
change: load yaml/json error message
2020-05-18 10:57:45 +08:00
debugtalk
1e27444bd2
fix: udpate examples
2020-05-18 10:48:27 +08:00