Commit Graph

1824 Commits

Author SHA1 Message Date
debugtalk
9f83e95974 fix: avoid '.csv' been converted to '_csv' 2020-06-15 15:07:23 +08:00
debugtalk
a477eda644 docs: scaffold 2020-06-15 12:01:56 +08:00
debugtalk
d6d1e2fac1 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
4f981a0d4c change: skip reporting sentry for errors occurred in debugtalk.py 2020-06-14 23:14:29 +08:00
debugtalk
834eea52d5 fix: compatibility with different path separators of Linux and Windows 2020-06-14 23:04:46 +08:00
debugtalk
2aefbe6c0d Merge branch 'master' into v3 2020-06-14 22:56:45 +08:00
debugtalk
919ea9f403 docs: update changelog 2020-06-14 22:55:38 +08:00
debugtalk
cfb55bd75d fix: check if jmespath extractor valid 2020-06-14 22:47:48 +08:00
debugtalk
b08427f278 fix: check extractor type 2020-06-14 22:37:38 +08:00
debugtalk
e91547bcdc fix: add error log when dependency tool black not exists 2020-06-14 22:34:56 +08:00
debugtalk
05fde4e254 fix: incorrect import 2020-06-14 22:10:56 +08:00
debugtalk
f4aa0b9913 fix: compatibility with different path separators of Linux and Windows 2020-06-14 22:01:09 +08:00
debugtalk
a05d590f73 fix: IndexError in ensure_file_path_valid when file_path=os.getcwd() 2020-06-14 21:15:05 +08:00
debugtalk
6f46a2f02b tests: change test module name 2020-06-14 20:15:16 +08:00
debugtalk
3a80d63716 fix: ensure step referenced api, convert to v3 testcase 2020-06-08 18:58:43 +08:00
debugtalk
58a6c814cf 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
448a82237b fix: update tests 2020-06-08 18:09:23 +08:00
debugtalk
3c8b961400 fix: escape 5065 in variable value 2020-06-08 18:05:10 +08:00
debugtalk
34d6b4f57a fix: reload to refresh previously loaded debugtalk module 2020-06-08 17:18:25 +08:00
debugtalk
30461e8037 tests: update tests 2020-06-08 16:56:55 +08:00
debugtalk
2237b34901 docs: update changelog 2020-06-08 16:32:53 +08:00
debugtalk
873e420842 fix: incorrect summary success when testcase failed 2020-06-08 16:22:55 +08:00
debugtalk
915ac691ff 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
9b0e60fa23 fix: testsuite variables override testcase config variables 2020-06-08 12:56:09 +08:00
debugtalk
07965710a3 change: log httprunner version 2020-06-08 11:45:21 +08:00
debugtalk
1dbfe619e5 docs: update 2020-06-08 11:09:20 +08:00
debugtalk
d95053f767 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
9a7384e173 fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder 2020-06-07 22:32:49 +08:00
debugtalk
45d1f3ed65 feat: support alter response in teardown hooks 2020-06-07 21:39:46 +08:00
debugtalk
0b53f832f1 feat: step teardown hook 2020-06-07 18:20:13 +08:00
debugtalk
d991708439 feat: step setup hook 2020-06-07 18:06:42 +08:00
debugtalk
2a81937bc8 fix: change __step_datas default value to [] 2020-06-07 17:40:13 +08:00
debugtalk
012194d788 fix: ensure upload ready 2020-06-07 17:17:52 +08:00
debugtalk
31f5cfa9df feat: implement step setup/teardown hooks 2020-06-07 16:38:59 +08:00
debugtalk
5cc5e5be28 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
c2cba90609 Merge branch 'master' into v3 2020-06-07 14:55:37 +08:00
debugtalk
ddf5c331cc fix: ensure variables 2020-06-07 14:50:07 +08:00
debugtalk
d1f9b10274 fix: handle exception for loaded invalid format test content 2020-06-07 14:41:46 +08:00
debugtalk
103d1b161d change: do not capture exception for loading har file 2020-06-07 13:17:47 +08:00
debugtalk
4f37a4a446 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
b279162956 change: search debugtalk.py upward recursively until system root dir 2020-06-07 12:51:45 +08:00
debugtalk
204b013b71 test: add unittest form testcase with abnormal path 2020-06-07 12:44:02 +08:00
debugtalk
534a14e525 test: update tests 2020-06-07 11:21:36 +08:00
debugtalk
f1fb78a6e6 fix: clear project_meta before each test 2020-06-07 10:59:24 +08:00
debugtalk
2697af09ac fix: summary path 2020-06-06 22:37:44 +08:00
debugtalk
be627549e1 fix: ensure_file_path_valid for folder path 2020-06-06 22:25:50 +08:00
debugtalk
d29941124d fix: ensure generated conftest.py located in generated pytest folder 2020-06-06 22:13:59 +08:00
debugtalk
e2703fff32 change: rename PWD to project RootDir 2020-06-06 21:17:00 +08:00
debugtalk
6471b006cb change: format copied debugtalk.py 2020-06-06 10:05:57 +08:00
debugtalk
9a4ee8f3a0 fix: ensure project meta files exist in generated pytest folder files 2020-06-06 10:00:26 +08:00