Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 187bb7f1fa docs: quickstart 2020-06-17 22:49:09 +08:00
debugtalk 6c7085a8fc update examples 2020-06-17 22:48:26 +08:00
debugtalk 74dab0e8ec fix: unittests on Windows 2020-06-17 22:31:29 +08:00
debugtalk 429276c43b fix: github workflow 2020-06-17 21:37:36 +08:00
debugtalk a99d5b9e01 feat: log client/server IP and port 2020-06-17 21:20:45 +08:00
debugtalk d0e4df6b07 docs: testing report 2020-06-17 16:58:26 +08:00
debugtalk 60dff68757 docs: run testcase 2020-06-17 16:28:13 +08:00
debugtalk d91cc185cf docs: write testcase 2020-06-17 14:17:11 +08:00
debugtalk 1979d257f0 fix: testcase path handling error when path startswith "./" or ".\\" 2020-06-15 18:32:33 +08:00
debugtalk 9ff3f943ab fix: FileExistsError when specified project name conflicts with existed file 2020-06-15 18:14:35 +08:00
debugtalk b8b2e26b3e fix: SyntaxError caused by quote in case of headers."Set-Cookie" 2020-06-15 17:36:07 +08:00
debugtalk 1847532457 docs: update sponsor info 2020-06-15 16:02:34 +08:00
debugtalk 34bbe187eb fix: missing handling in overriding config variables 2020-06-15 15:56:00 +08:00
debugtalk b416be1d31 bump version 3.0.13 2020-06-15 15:42:48 +08:00
debugtalk 2d143a8c48 docs: Record & Generate testcase 2020-06-15 15:39:48 +08:00
debugtalk 1cf9e10189 fix: convert har to JSON format testcase 2020-06-15 15:34:29 +08:00
debugtalk 38364e8960 fix: avoid '.csv' been converted to '_csv' 2020-06-15 15:07:23 +08:00
debugtalk 0580e3fc00 docs: scaffold 2020-06-15 12:01:56 +08:00
debugtalk 33cd49520c Merge pull request #932 from httprunner/v3
## 3.0.12 (2020-06-14)

**Fixed**

- fix: compatibility with different path separators of Linux and Windows
- fix: IndexError in ensure_file_path_valid when file_path=os.getcwd()
- fix: ensure step referenced api, convert to v3 testcase
- fix: several other compatibility issues

**Changed**

- change: skip reporting sentry for errors occurred in debugtalk.py
2020-06-14 23:45:40 +08:00
debugtalk 3d29be11cf change: skip reporting sentry for errors occurred in debugtalk.py 2020-06-14 23:14:29 +08:00
debugtalk 363aa7f647 fix: compatibility with different path separators of Linux and Windows 2020-06-14 23:04:46 +08:00
debugtalk a0a748e24a Merge branch 'master' into v3 2020-06-14 22:56:45 +08:00
debugtalk a601880aa3 docs: update changelog 2020-06-14 22:55:38 +08:00
debugtalk 9ef795b5fb fix: check if jmespath extractor valid 2020-06-14 22:47:48 +08:00
debugtalk fb81622fca fix: check extractor type 2020-06-14 22:37:38 +08:00
debugtalk 86c43bb1e0 fix: add error log when dependency tool black not exists 2020-06-14 22:34:56 +08:00
debugtalk b3543915cd fix: incorrect import 2020-06-14 22:10:56 +08:00
debugtalk 5f17296042 fix: compatibility with different path separators of Linux and Windows 2020-06-14 22:01:09 +08:00
debugtalk f4382139db fix: IndexError in ensure_file_path_valid when file_path=os.getcwd() 2020-06-14 21:15:05 +08:00
debugtalk ca395b5820 tests: change test module name 2020-06-14 20:15:16 +08:00
debugtalk cfc161ec9c fix: ensure step referenced api, convert to v3 testcase 2020-06-08 18:58:43 +08:00
debugtalk efd553a6f5 Merge pull request #925 from httprunner/v3
## 3.0.11 (2020-06-08)

**Changed**

- change: override variables
    (1) testcase: session variables > step variables > config variables
    (2) testsuite: testcase variables > config variables
    (3) testsuite testcase variables > testcase config variables

**Fixed**

- fix: incorrect summary success when testcase failed
- fix: reload to refresh previously loaded debugtalk module
- fix: escape $$ in variable value
2020-06-08 18:20:12 +08:00
debugtalk deabedc601 fix: update tests 2020-06-08 18:09:23 +08:00
debugtalk 2ebc8a63ce fix: escape 5065 in variable value 2020-06-08 18:05:10 +08:00
debugtalk a33f689726 fix: reload to refresh previously loaded debugtalk module 2020-06-08 17:18:25 +08:00
debugtalk 80cbfdc3ca tests: update tests 2020-06-08 16:56:55 +08:00
debugtalk 97557a9b6f docs: update changelog 2020-06-08 16:32:53 +08:00
debugtalk 9a3962b995 fix: incorrect summary success when testcase failed 2020-06-08 16:22:55 +08:00
debugtalk 6220367394 change: override variables
(1) testcase: session variables > step variables > config variables
(2) testsuite: testcase variables > config variables
(3) testsuite testcase variables > testcase config variables
2020-06-08 16:11:06 +08:00
debugtalk c19d1bb664 fix: testsuite variables override testcase config variables 2020-06-08 12:56:09 +08:00
debugtalk 8ee713ac12 change: log httprunner version 2020-06-08 11:45:21 +08:00
debugtalk fceec59815 docs: update 2020-06-08 11:09:20 +08:00
debugtalk e9d4a4568a Merge pull request #924 from httprunner/v3
## 3.0.10 (2020-06-07)

**Added**

- feat: implement step setup/teardown hooks
- feat: support alter response in teardown hooks

**Fixed**

- fix: ensure upload ready
- fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder
2020-06-08 10:44:14 +08:00
debugtalk fbf5f245c7 fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder 2020-06-07 22:32:49 +08:00
debugtalk 5c06b91b62 feat: support alter response in teardown hooks 2020-06-07 21:39:46 +08:00
debugtalk 9367cac706 feat: step teardown hook 2020-06-07 18:20:13 +08:00
debugtalk cffd80b57a feat: step setup hook 2020-06-07 18:06:42 +08:00
debugtalk 704acce53d fix: change __step_datas default value to [] 2020-06-07 17:40:13 +08:00
debugtalk 9f140fc958 fix: ensure upload ready 2020-06-07 17:17:52 +08:00
debugtalk 155ea7dad8 feat: implement step setup/teardown hooks 2020-06-07 16:38:59 +08:00
debugtalk e855b46976 Merge pull request #923 from httprunner/v3
3.0.9 bugfix

- fix: ensure variables
- fix: handle exception for loaded invalid format test content
- change: do not capture exception for loading har file
2020-06-07 15:11:53 +08:00
debugtalk 40dd394fd5 Merge branch 'master' into v3 2020-06-07 14:55:37 +08:00
debugtalk b4ca2699fb fix: ensure variables 2020-06-07 14:50:07 +08:00
debugtalk c54248e3b7 fix: handle exception for loaded invalid format test content 2020-06-07 14:41:46 +08:00
debugtalk d1291d0f36 change: do not capture exception for loading har file 2020-06-07 13:17:47 +08:00
debugtalk 7ca21ceedb Merge pull request #922 from httprunner/v3
## 3.0.9 (2020-06-07)

**Fixed**

- fix: miss formatting referenced testcase
- fix: handle cases when parent directory name includes dot/hyphen/space

**Changed**

- change: add `export` keyword in TStep to export session variables from referenced testcase
- change: rename TestCaseInOut field, config_vars and export_vars
- change: rename StepData field, export_vars
- change: add `--tb=short` for `hrun` command to use shorter traceback format by default
- change: search debugtalk.py upward recursively until system root dir
2020-06-07 13:00:24 +08:00
debugtalk d5fea81ea6 change: search debugtalk.py upward recursively until system root dir 2020-06-07 12:51:45 +08:00
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