orionis 0.445.0__py3-none-any.whl → 0.446.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.
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.445.0"
8
+ VERSION = "0.446.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -21,30 +21,10 @@ from orionis.test.contracts.test_result import IOrionisTestResult
21
21
  from orionis.test.contracts.unit_test import IUnitTest
22
22
  from orionis.test.entities.result import TestResult
23
23
  from orionis.test.enums import TestStatus
24
- from orionis.test.exceptions import (
25
- OrionisTestFailureException,
26
- OrionisTestPersistenceError,
27
- OrionisTestValueError,
28
- )
24
+ from orionis.test.exceptions import *
29
25
  from orionis.test.output.printer import TestPrinter
30
26
  from orionis.test.records.logs import TestLogs
31
- from orionis.test.validators import (
32
- ValidExecutionMode,
33
- ValidFailFast,
34
- ValidPersistent,
35
- ValidPersistentDriver,
36
- ValidPrintResult,
37
- ValidThrowException,
38
- ValidVerbosity,
39
- ValidWebReport,
40
- ValidWorkers,
41
- ValidBasePath,
42
- ValidFolderPath,
43
- ValidNamePattern,
44
- ValidPattern,
45
- ValidTags,
46
- ValidModuleName,
47
- )
27
+ from orionis.test.validators import *
48
28
  from orionis.test.view.render import TestingResultRender
49
29
 
50
30
  class UnitTest(IUnitTest):
@@ -54,53 +34,6 @@ class UnitTest(IUnitTest):
54
34
  Advanced unit testing manager for the Orionis framework.
55
35
 
56
36
  This class provides mechanisms for discovering, executing, and reporting unit tests with extensive configurability. It supports sequential and parallel execution, test filtering by name or tags, and detailed result tracking including execution times, error messages, and tracebacks.
57
-
58
- Attributes
59
- ----------
60
- __app : Optional[IApplication]
61
- Application instance for dependency injection.
62
- __verbosity : Optional[int]
63
- Verbosity level for test output.
64
- __execution_mode : Optional[str]
65
- Execution mode for tests ('SEQUENTIAL' or 'PARALLEL').
66
- __max_workers : Optional[int]
67
- Maximum number of workers for parallel execution.
68
- __fail_fast : Optional[bool]
69
- Whether to stop on first failure.
70
- __throw_exception : Optional[bool]
71
- Whether to raise exceptions on test failures.
72
- __persistent : Optional[bool]
73
- Whether to persist test results.
74
- __persistent_driver : Optional[str]
75
- Persistence driver ('sqlite' or 'json').
76
- __web_report : Optional[bool]
77
- Whether to generate a web report.
78
- __folder_path : Optional[str]
79
- Folder path for test discovery.
80
- __base_path : Optional[str]
81
- Base directory for test discovery.
82
- __pattern : Optional[str]
83
- File name pattern for test discovery.
84
- __test_name_pattern : Optional[str]
85
- Pattern for filtering test names.
86
- __tags : Optional[List[str]]
87
- Tags for filtering tests.
88
- __module_name : Optional[str]
89
- Module name for test discovery.
90
- __loader : unittest.TestLoader
91
- Loader for discovering tests.
92
- __suite : unittest.TestSuite
93
- Test suite containing discovered tests.
94
- __discovered_tests : List
95
- List of discovered test metadata.
96
- __printer : Optional[TestPrinter]
97
- Utility for printing test results.
98
- __output_buffer : Optional[str]
99
- Buffer for capturing standard output.
100
- __error_buffer : Optional[str]
101
- Buffer for capturing error output.
102
- __result : Optional[dict]
103
- Result summary of the test execution.
104
37
  """
105
38
 
106
39
  def __init__(
@@ -117,6 +50,7 @@ class UnitTest(IUnitTest):
117
50
  -------
118
51
  None
119
52
  """
53
+
120
54
  # Application instance for dependency injection
121
55
  self.__app: Optional[IApplication] = app or Orionis()
122
56
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.445.0
3
+ Version: 0.446.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -178,7 +178,7 @@ orionis/foundation/providers/progress_bar_provider.py,sha256=P__zpCyC29WCwErYGbh
178
178
  orionis/foundation/providers/testing_provider.py,sha256=fSZfwKnScTxGlGrcEPReGIiOPs8XkoEaNNARN1wC6LU,2939
179
179
  orionis/foundation/providers/workers_provider.py,sha256=YMRLdq_YQnR1unnoYvDpYQZbLli04f0CckuR6Q--wKg,1379
180
180
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
- orionis/metadata/framework.py,sha256=192rDsW-nKtJVGcJdvakEiGySD3zpYemH8-LYFk5spQ,4088
181
+ orionis/metadata/framework.py,sha256=cmZ_JrSV8hHiQ6tIZr04kISqOKd-MrIiXmwLgvU-2EE,4088
182
182
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
183
183
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
184
184
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -309,7 +309,7 @@ orionis/test/contracts/render.py,sha256=wpDQzUtT0r8KFZ7zPcxWHXQ1EVNKxzA_rZ6ZKUcZ
309
309
  orionis/test/contracts/test_result.py,sha256=SNXJ2UerkweYn7uCT0i0HmMGP0XBrL_9KJs-0ZvIYU4,4002
310
310
  orionis/test/contracts/unit_test.py,sha256=PSnjEyM-QGQ3Pm0ZOqaa8QdPOtilGBVO4R87JYdVa-8,5386
311
311
  orionis/test/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
312
- orionis/test/core/unit_test.py,sha256=IIpPLM4pXZKCpKAZ-0PPatGuWjBXxgjKQxB8IJLB1zY,63310
312
+ orionis/test/core/unit_test.py,sha256=7oHQiWfMMFQ3rsuKHBRS34Aqbk5nTinsGVh44OAkHE0,61051
313
313
  orionis/test/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
314
314
  orionis/test/entities/result.py,sha256=IMAd1AiwOf2z8krTDBFMpQe_1PG4YJ5Z0qpbr9xZwjg,4507
315
315
  orionis/test/enums/__init__.py,sha256=M3imAgMvKFTKg55FbtVoY3zxj7QRY9AfaUWxiSZVvn4,66
@@ -343,7 +343,7 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
343
343
  orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
344
344
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
345
345
  orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
346
- orionis-0.445.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
346
+ orionis-0.446.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
347
347
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
348
348
  tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
349
349
  tests/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -487,8 +487,8 @@ tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
487
487
  tests/testing/validators/test_testing_validators.py,sha256=WPo5GxTP6xE-Dw3X1vZoqOMpb6HhokjNSbgDsDRDvy4,16588
488
488
  tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
489
489
  tests/testing/view/test_render.py,sha256=tnnMBwS0iKUIbogLvu-7Rii50G6Koddp3XT4wgdFEYM,1050
490
- orionis-0.445.0.dist-info/METADATA,sha256=7gz5KAzfzBJKnWCXoyTfW7Izx8pbJGm9SR-LDA3F4rQ,4772
491
- orionis-0.445.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
- orionis-0.445.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
- orionis-0.445.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
- orionis-0.445.0.dist-info/RECORD,,
490
+ orionis-0.446.0.dist-info/METADATA,sha256=iD7rp-OlLM2n4AjNDNrcjTyKFl70G_gD165H4065uXo,4772
491
+ orionis-0.446.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
+ orionis-0.446.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
+ orionis-0.446.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
+ orionis-0.446.0.dist-info/RECORD,,