debugtalk
47cc964ecf
fix: convert jmespath.search result to int/float
2020-06-03 16:50:53 +08:00
debugtalk
e22d828dca
docs: update sponsor info
2020-06-03 16:50:53 +08:00
debugtalk
f92fca70f2
fix: missing exit code from pytest
2020-06-03 16:47:26 +08:00
debugtalk
365996f59b
fix compatibility: step_datas=>records
2020-06-03 16:46:02 +08:00
debugtalk
e3a7884317
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
b2de9219da
docs: update changelog
2020-05-29 20:52:08 +08:00
debugtalk
f6d4d4a311
fix: missing validate_script
2020-05-29 19:08:20 +08:00
debugtalk
446860503f
fix: missing setup_hooks and teardown hooks
2020-05-29 19:03:29 +08:00
debugtalk
d5352ef022
test: update httpbin tests
2020-05-29 18:44:57 +08:00
debugtalk
633f5b26fb
change: save testcase log in PWD/logs/ dir
2020-05-29 18:20:35 +08:00
debugtalk
ea458a4dc0
fix: compatibility with --save-tests
2020-05-29 17:58:56 +08:00
debugtalk
1134bb523b
fix: compatibility when request body is None
2020-05-29 11:34:17 +08:00
debugtalk
45a5f1c37c
change: convert lst.0.name to lst[0].name
2020-05-29 11:16:43 +08:00
debugtalk
0b8d2b1471
fix: compatibility with jmespath, headers."Content-Type"
2020-05-29 11:04:15 +08:00
debugtalk
e62cc57839
change: relocate scaffold
2020-05-28 20:23:04 +08:00
debugtalk
7107c536dc
change: relocate make
2020-05-28 20:20:13 +08:00
debugtalk
2a14e1b8db
fix: check upload depencencies ready
2020-05-28 19:15:11 +08:00
debugtalk
8f237fd909
fix: allure ModuleNotFoundError
2020-05-28 18:58:49 +08:00
debugtalk
398522bd2c
change: move all unittests to tests folder
2020-05-28 18:46:31 +08:00
debugtalk
ed3c937be6
change: make allure-pytest, requests-toolbelt, filetype as optional dependencies
2020-05-28 18:21:33 +08:00
debugtalk
9e0bd12b6c
fix: ensure compatibility with deprecated cli args in v2
2020-05-28 18:10:50 +08:00
debugtalk
3e8b906a4c
fix: UnicodeDecodeError when request body in protobuf
2020-05-28 14:14:45 +08:00
debugtalk
83286007ab
feat: sort request and teststep by custom order
2020-05-28 13:00:54 +08:00
debugtalk
803881f5b9
test: add unittest for ensure_testcase_v3
2020-05-28 11:30:46 +08:00
debugtalk
06b219fd06
fix: compatibility with v2, body.lst.0.name
2020-05-27 22:01:20 +08:00
debugtalk
cad3812384
fix: compatibility with v2, headers.Content-Type
2020-05-27 21:29:37 +08:00
debugtalk
1de4585dd5
fix: keep testcase key order
2020-05-27 21:11:30 +08:00
debugtalk
8b3c4442ae
fix: ensure pytest files are in python module, generate __init__.py on demand
2020-05-27 21:03:58 +08:00
debugtalk
66703eb888
fix: ensure file name not startswith digit
2020-05-27 20:42:56 +08:00
debugtalk
5cfa80991a
fix: validate field with variable or function
2020-05-27 19:53:29 +08:00
debugtalk
3032974b73
fix: ensure compatibility issues between testcase format v2 and v3
2020-05-27 18:52:45 +08:00
debugtalk
051c1f26b7
change: generated pytest notice
2020-05-27 16:55:57 +08:00
debugtalk
add70330d2
fix: duplicate running referenced testcase
2020-05-27 11:21:01 +08:00
debugtalk
e278d67886
docs: add testcase fixture example to update teststep headers
2020-05-27 10:57:53 +08:00
debugtalk
2d76db0568
docs: add changelog
2020-05-26 21:31:59 +08:00
debugtalk
446c5c7558
docs: add installation
2020-05-26 21:16:55 +08:00
debugtalk
756c136b0f
docs: remove v2 docs
2020-05-26 16:29:27 +08:00
debugtalk
d878690125
fix: insert cwd path before import referenced testcase class
2020-05-26 13:15:20 +08:00
debugtalk
e0f0ea23d3
fix: make referenced testcase as pytest class
2020-05-25 23:06:00 +08:00
debugtalk
7fd243a7e8
change: adjust code
2020-05-25 20:11:52 +08:00
debugtalk
1e6db89b3e
feat: cache converted pytest files, avoid duplicate making
2020-05-25 18:23:54 +08:00
debugtalk
c02ab453dc
feat: make referenced testcase as pytest class
2020-05-25 17:53:22 +08:00
debugtalk
0fecee38e4
change: load_project_meta only once by default
2020-05-25 17:05:39 +08:00
debugtalk
1bc52ae968
refactor: rename HttpRunner run to run_testcase
2020-05-24 16:03:48 +08:00
debugtalk
246112865b
fix: ensure converted python file in utf-8 encoding
2020-05-23 19:54:30 +08:00
debugtalk
b4c7e333fc
docs: add examples for session_fixture and testcase_fixture
2020-05-22 15:34:47 +08:00
debugtalk
220373a850
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
2f15179f31
fix: github action, test package installation
2020-05-22 15:14:18 +08:00
debugtalk
579f6b41e1
change: format code with black
2020-05-22 15:08:45 +08:00
debugtalk
1899c2f440
Merge branch 'master' into v3
2020-05-22 14:59:50 +08:00
debugtalk
a8be9c86c0
docs: add examples for session_fixture and testcase_fixture
2020-05-22 14:53:54 +08:00
debugtalk
21f34d0082
test: add test for debugging pytest
2020-05-22 14:47:12 +08:00
debugtalk
41a188df3f
feat: log request cookies
2020-05-22 13:28:56 +08:00
debugtalk
988e7e6e78
fix: parse config name
2020-05-22 13:13:46 +08:00
debugtalk
9a5bfa1828
feat: dump log for each testcase
2020-05-22 12:57:25 +08:00
debugtalk
0b388bd514
feat: each testcase has an unique id in uuid4 format
2020-05-21 20:14:09 +08:00
debugtalk
94f218edba
change: update allure report meta, title and description
2020-05-21 18:07:56 +08:00
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
8dbba74f43
Merge pull request #903 from httprunner/v3
...
docs: update README
2020-05-19 22:14:35 +08:00
debugtalk
fbc7ad0ae0
docs: update README
2020-05-19 22:07:17 +08:00
debugtalk
044d014b8e
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
7158128fef
feat: log request/response headers and body with indent
2020-05-19 16:07:41 +08:00
debugtalk
d8ad62d7db
bump version to 3.0.4
2020-05-19 15:51:20 +08:00
debugtalk
8b0f31bd24
fix: remove request header startswith : e.g. :method, :scheme
2020-05-19 13:11:46 +08:00
debugtalk
f0b03d09ab
fix: remove cookie in request headers
2020-05-19 12:56:18 +08:00
debugtalk
695e313aba
change: har2case do not ignore request headers
2020-05-19 11:59:25 +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
7ef1ca608c
change: format pytest case after all testcases generated
2020-05-19 11:02:18 +08:00
debugtalk
c2ee26d5b5
change: testsuite pytest dirname
2020-05-19 10:43:36 +08:00
debugtalk
3c48078c22
test: update examples
2020-05-18 23:22:03 +08:00
debugtalk
9dcf54a5a6
feat: testcase config get variables by call function
2020-05-18 22:49:58 +08:00
debugtalk
7ebb1696c7
feat: testsuite config get variables by call function
2020-05-18 22:38:59 +08:00
debugtalk
5b7bcea3d0
feat: make testsuite and run testsuite
2020-05-18 20:32:59 +08:00
debugtalk
bd71a23843
refactor: make testcase
2020-05-18 15:55:38 +08:00
debugtalk
c9039535da
change: split load_test_file
2020-05-18 13:07:57 +08:00
debugtalk
a17ff355a2
fix: handle errors when no valid testcases generated
2020-05-18 11:26:47 +08:00
debugtalk
718fea62e0
change: validate testcase error message
2020-05-18 11:00:51 +08:00
debugtalk
1359839c8b
change: load yaml/json error message
2020-05-18 10:57:45 +08:00
debugtalk
1413f5a8a1
fix: udpate examples
2020-05-18 10:48:27 +08:00
debugtalk
092dc299c6
fix: extract response cookies
2020-05-18 10:48:27 +08:00
debugtalk
102bc2056d
Merge pull request #897 from httprunner/v3
...
## 3.0.3 (2020-05-17)
**Fixed**
- fix: compatibility with testcase file path includes dots, space and minus sign
- fix: testcase generator, validate content.xxx => body.xxx
- fix: scaffold for v3
2020-05-18 10:47:56 +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
c9a0177a0c
change: update scaffold for v3
2020-05-17 12:21:30 +08:00
debugtalk
670d0db64f
change: add origin yaml/json testcase path in generated python testcases
2020-05-17 11:10:13 +08:00
debugtalk
2e46ce6889
bump version 3.0.3
2020-05-17 10:58:14 +08:00
debugtalk
79971f6aaa
change: har2case generate testcase config with verify False
2020-05-17 10:51:06 +08:00
debugtalk
0133d62a82
fix: convert_testcase_path
2020-05-17 10:44:46 +08:00
debugtalk
85f02c763f
fix: convert testcase validator, content => body
2020-05-17 09:56:11 +08:00
debugtalk
5a8af565d8
fix: compatibility with file name includes dots and space
2020-05-17 09:53:54 +08:00
debugtalk
66928064b5
Merge pull request #896 from httprunner/v3
...
## 3.0.2 (2020-05-16)
**Added**
- feat: add `make` sub-command to generate python testcases from YAML/JSON
- feat: format generated python testcases with [`black`](https://github.com/psf/black )
- test: add postman echo & httpbin as testcase examples
**Changed**
- refactor all
- replace jsonschema validation with pydantic
- remove compatibility with testcase/testsuite format v1
- replace unittest with pytest
- remove builtin html report, allure will be used with pytest later
- remove locust support temporarily
- update command line interface
2020-05-16 16:45:51 +08:00
debugtalk
47cb457fc5
style: add type
2020-05-16 16:39:13 +08:00
debugtalk
add392adf3
feat: implement upload keyword
2020-05-16 16:34:06 +08:00
debugtalk
a971c164ee
docs: update changelog
2020-05-16 15:25:46 +08:00
debugtalk
996e1f1902
change: coverage source code only
2020-05-16 15:15:26 +08:00
debugtalk
975f01d22f
fix: unittests
2020-05-16 15:10:14 +08:00