mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
docs: update changelog
This commit is contained in:
@@ -1,5 +1,17 @@
|
|||||||
# Release History
|
# Release History
|
||||||
|
|
||||||
|
## 3.0.9 (2020-06-05)
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
|
- fix: miss formatting referenced testcase
|
||||||
|
|
||||||
|
**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
|
||||||
|
|
||||||
## 3.0.8 (2020-06-04)
|
## 3.0.8 (2020-06-04)
|
||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|||||||
+3
-1
@@ -301,7 +301,9 @@ def make_testcase(testcase: Dict, dir_path: Text = None) -> Text:
|
|||||||
ref_testcase_python_path = make_testcase(test_content)
|
ref_testcase_python_path = make_testcase(test_content)
|
||||||
|
|
||||||
# prepare ref testcase class name
|
# prepare ref testcase class name
|
||||||
ref_testcase_cls_name = pytest_files_made_cache_mapping[ref_testcase_python_path]
|
ref_testcase_cls_name = pytest_files_made_cache_mapping[
|
||||||
|
ref_testcase_python_path
|
||||||
|
]
|
||||||
teststep["testcase"] = ref_testcase_cls_name
|
teststep["testcase"] = ref_testcase_cls_name
|
||||||
|
|
||||||
# prepare import ref testcase
|
# prepare import ref testcase
|
||||||
|
|||||||
@@ -334,7 +334,8 @@ class HttpRunner(object):
|
|||||||
duration=self.__duration,
|
duration=self.__duration,
|
||||||
),
|
),
|
||||||
in_out=TestCaseInOut(
|
in_out=TestCaseInOut(
|
||||||
config_vars=self.__config.variables, export_vars=self.get_export_variables()
|
config_vars=self.__config.variables,
|
||||||
|
export_vars=self.get_export_variables(),
|
||||||
),
|
),
|
||||||
log=self.__log_path,
|
log=self.__log_path,
|
||||||
step_datas=self.__step_datas,
|
step_datas=self.__step_datas,
|
||||||
|
|||||||
Reference in New Issue
Block a user