orionis 0.591.0__py3-none-any.whl → 0.592.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.
- orionis/metadata/framework.py +1 -1
- orionis/test/contracts/unit_test.py +0 -81
- orionis/test/core/unit_test.py +732 -602
- orionis/test/output/printer.py +173 -118
- orionis/test/records/logs.py +223 -83
- orionis/test/view/render.py +45 -17
- {orionis-0.591.0.dist-info → orionis-0.592.0.dist-info}/METADATA +1 -1
- {orionis-0.591.0.dist-info → orionis-0.592.0.dist-info}/RECORD +11 -11
- {orionis-0.591.0.dist-info → orionis-0.592.0.dist-info}/WHEEL +0 -0
- {orionis-0.591.0.dist-info → orionis-0.592.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.591.0.dist-info → orionis-0.592.0.dist-info}/top_level.txt +0 -0
orionis/metadata/framework.py
CHANGED
@@ -17,85 +17,4 @@ class IUnitTest(ABC):
|
|
17
17
|
dict
|
18
18
|
Results of the test execution.
|
19
19
|
"""
|
20
|
-
pass
|
21
|
-
|
22
|
-
@abstractmethod
|
23
|
-
def getTestNames(self) -> List[str]:
|
24
|
-
"""
|
25
|
-
Retrieve the list of discovered test names.
|
26
|
-
|
27
|
-
Returns
|
28
|
-
-------
|
29
|
-
list of str
|
30
|
-
Names of all discovered tests.
|
31
|
-
"""
|
32
|
-
pass
|
33
|
-
|
34
|
-
@abstractmethod
|
35
|
-
def getTestCount(self) -> int:
|
36
|
-
"""
|
37
|
-
Get the total number of discovered tests.
|
38
|
-
|
39
|
-
Returns
|
40
|
-
-------
|
41
|
-
int
|
42
|
-
Number of discovered tests.
|
43
|
-
"""
|
44
|
-
pass
|
45
|
-
|
46
|
-
@abstractmethod
|
47
|
-
def clearTests(self) -> None:
|
48
|
-
"""
|
49
|
-
Remove all discovered tests from the runner.
|
50
|
-
"""
|
51
|
-
pass
|
52
|
-
|
53
|
-
@abstractmethod
|
54
|
-
def getResult(self) -> dict:
|
55
|
-
"""
|
56
|
-
Retrieve the results of the last test run.
|
57
|
-
|
58
|
-
Returns
|
59
|
-
-------
|
60
|
-
dict
|
61
|
-
Results of the last test execution.
|
62
|
-
"""
|
63
|
-
pass
|
64
|
-
|
65
|
-
@abstractmethod
|
66
|
-
def getOutputBuffer(self) -> int:
|
67
|
-
"""
|
68
|
-
Get the size or identifier of the output buffer.
|
69
|
-
|
70
|
-
Returns
|
71
|
-
-------
|
72
|
-
int
|
73
|
-
Output buffer size or identifier.
|
74
|
-
"""
|
75
|
-
pass
|
76
|
-
|
77
|
-
@abstractmethod
|
78
|
-
def printOutputBuffer(self) -> None:
|
79
|
-
"""
|
80
|
-
Print the contents of the output buffer to the console.
|
81
|
-
"""
|
82
|
-
pass
|
83
|
-
|
84
|
-
@abstractmethod
|
85
|
-
def getErrorBuffer(self) -> int:
|
86
|
-
"""
|
87
|
-
Get the size or identifier of the error buffer.
|
88
|
-
|
89
|
-
Returns
|
90
|
-
-------
|
91
|
-
int
|
92
|
-
Error buffer size or identifier.
|
93
|
-
"""
|
94
|
-
pass
|
95
|
-
|
96
|
-
@abstractmethod
|
97
|
-
def printErrorBuffer(self) -> None:
|
98
|
-
"""
|
99
|
-
Print the contents of the error buffer to the console.
|
100
|
-
"""
|
101
20
|
pass
|