GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — allure-python/allure-python-commons/src/_hooks.py at master · yuecloud/allure-python

Expand file tree

/

_hooks.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
98 lines (71 loc) · 2.27 KB
/

_hooks.py

Copy path

File metadata and controls

98 lines (71 loc) · 2.27 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
from pluggy import HookspecMarker, HookimplMarker
hookspec = HookspecMarker("allure")
hookimpl = HookimplMarker("allure")
class AllureUserHooks(object):
@hookspec
def decorate_as_title(self, test_title):
""" title """
@hookspec
def add_title(self, test_title):
""" title """
@hookspec
def decorate_as_description(self, test_description):
""" description """
@hookspec
def add_description(self, test_description):
""" description """
@hookspec
def decorate_as_description_html(self, test_description_html):
""" description html"""
@hookspec
def add_description_html(self, test_description_html):
""" description html"""
@hookspec
def decorate_as_label(self, label_type, labels):
""" label """
@hookspec
def add_label(self, label_type, labels):
""" label """
@hookspec
def decorate_as_link(self, url, link_type, name):
""" url """
@hookspec
def add_link(self, url, link_type, name):
""" url """
@hookspec
def start_step(self, uuid, title, params):
""" step """
@hookspec
def stop_step(self, uuid, exc_type, exc_val, exc_tb):
""" step """
@hookspec
def attach_data(self, body, name, attachment_type, extension):
""" attach data """
@hookspec
def attach_file(self, source, name, attachment_type, extension):
""" attach file """
class AllureDeveloperHooks(object):
@hookspec
def start_fixture(self, parent_uuid, uuid, name, parameters):
""" start fixture"""
@hookspec
def stop_fixture(self, parent_uuid, uuid, name, exc_type, exc_val, exc_tb):
""" stop fixture """
@hookspec
def start_test(self, parent_uuid, uuid, name, parameters, context):
""" start test"""
@hookspec
def stop_test(self, parent_uuid, uuid, name, context, exc_type, exc_val, exc_tb):
""" stop test """
@hookspec
def report_result(self, result):
""" reporting """
@hookspec
def report_container(self, container):
""" reporting """
@hookspec
def report_attached_file(self, source, file_name):
""" reporting """
@hookspec
def report_attached_data(self, body, file_name):
""" reporting """
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.