robotframework-trace 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ # Copyright (c) 2026 Jonathan Simmonds
2
+ #
3
+
4
+
5
+ class PrintVisits:
6
+ ROBOT_LISTENER_API_VERSION = 3
7
+
8
+ def __init__(self):
9
+ print("__init__")
10
+
11
+ def start_suite(self, suite, result):
12
+ print(f"start_suite({suite}, {result})")
13
+
14
+ def end_suite(self, suite, result):
15
+ print(f"end_suite({suite}, {result})")
16
+
17
+ def start_test(self, test, result):
18
+ print(f"start_test: {test}, {result}")
19
+
20
+ def end_test(self, test, result):
21
+ print(f"end_test: {test}, {result}")
22
+
23
+ def start_keyword(self, keyword, result):
24
+ print(f"start_keyword({keyword}, {result})")
25
+
26
+ def end_keyword(self, keyword, result):
27
+ print(f"end_keyword({keyword}, {result})")
28
+
29
+ def log_message(self, message):
30
+ print(f"log_message({message})")
31
+
32
+ def message(self, message):
33
+ # print(f"message({message})")
34
+ pass
35
+
36
+ def start_error(self, data, result):
37
+ print(f"start_error({data}, {result})")
38
+
39
+ def end_error(self, data, result):
40
+ print(f"end_error({data}, {result})")
41
+
42
+ def close(self):
43
+ print("close")
@@ -0,0 +1,44 @@
1
+ # Copyright (c) 2026 Jonathan Simmonds
2
+ #
3
+ import pprint
4
+
5
+
6
+ class PrintVisitsV2:
7
+ ROBOT_LISTENER_API_VERSION = 2
8
+
9
+ def __init__(self):
10
+ print("__init__")
11
+
12
+ def start_suite(self, suite, result):
13
+ print(f"start_suite({suite}, {result})")
14
+
15
+ def end_suite(self, suite, result):
16
+ print(f"end_suite({suite}, {result})")
17
+
18
+ def start_test(self, test, result):
19
+ print(f"start_test: {test}, {result}")
20
+
21
+ def end_test(self, test, result):
22
+ print(f"end_test: {test}, {result}")
23
+
24
+ def start_keyword(self, keyword, result):
25
+ print(f"start_keyword({keyword}, {pprint.pformat(result, indent=4)})")
26
+
27
+ def end_keyword(self, keyword, result):
28
+ print(f"end_keyword({keyword}, {pprint.pformat(result, indent=4)})")
29
+
30
+ def log_message(self, message):
31
+ print(f"log_message({message})")
32
+
33
+ def message(self, message):
34
+ # print(f"message({message})")
35
+ pass
36
+
37
+ def start_error(self, data, result):
38
+ print(f"start_error({data}, {result})")
39
+
40
+ def end_error(self, data, result):
41
+ print(f"end_error({data}, {result})")
42
+
43
+ def close(self):
44
+ print("close")