mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 04:49:33 +08:00
feat: builtin allure report
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import time
|
||||
import uuid
|
||||
import allure
|
||||
from datetime import datetime
|
||||
from typing import List, Dict, Text
|
||||
|
||||
@@ -207,7 +208,8 @@ class HttpRunner(object):
|
||||
step.variables, self.__project_meta.functions
|
||||
)
|
||||
# run step
|
||||
extract_mapping = self.__run_step(step)
|
||||
with allure.step(f"step: {step.name}"):
|
||||
extract_mapping = self.__run_step(step)
|
||||
# save extracted variables to session variables
|
||||
self.__session_variables.update(extract_mapping)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user