Commit Graph

1658 Commits

Author SHA1 Message Date
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