Commit Graph
1784 Commits
Author SHA1 Message Date
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