orionis 0.280.0__py3-none-any.whl → 0.281.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.280.0"
8
+ VERSION = "0.281.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -19,6 +19,7 @@ from orionis.test.entities.test_result import TestResult
19
19
  from orionis.test.enums.test_mode import ExecutionMode
20
20
  from orionis.test.enums.test_status import TestStatus
21
21
  from orionis.test.exceptions.test_failure_exception import OrionisTestFailureException
22
+ from rich.live import Live
22
23
 
23
24
  class UnitTest(IUnitTest):
24
25
  """
@@ -258,15 +259,28 @@ class UnitTest(IUnitTest):
258
259
  self.start_time = time.time()
259
260
  self._startMessage()
260
261
 
261
- # Setup output capture
262
- output_buffer = io.StringIO()
263
- error_buffer = io.StringIO()
262
+ # Elegant "running" message using Rich Panel
263
+ running_panel = Panel(
264
+ "[bold yellow]⏳ Running tests...[/bold yellow]\n[dim]This may take a few seconds. Please wait...[/dim]",
265
+ border_style="yellow",
266
+ title="In Progress",
267
+ title_align="left",
268
+ width=self.width_output_component,
269
+ padding=(1, 2)
270
+ )
264
271
 
265
- # Execute tests based on selected mode
266
- if self.execution_mode == ExecutionMode.PARALLEL.value:
267
- result = self._runTestsInParallel(output_buffer, error_buffer)
268
- else:
269
- result = self._runTestsSequentially(output_buffer, error_buffer)
272
+ # Print the panel and keep a reference to the live display
273
+ with Live(running_panel, console=self.rich_console, refresh_per_second=4, transient=True):
274
+
275
+ # Setup output capture
276
+ output_buffer = io.StringIO()
277
+ error_buffer = io.StringIO()
278
+
279
+ # Execute tests based on selected mode
280
+ if self.execution_mode == ExecutionMode.PARALLEL.value:
281
+ result = self._runTestsInParallel(output_buffer, error_buffer)
282
+ else:
283
+ result = self._runTestsSequentially(output_buffer, error_buffer)
270
284
 
271
285
  # Process results
272
286
  execution_time = time.time() - self.start_time
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.280.0
3
+ Version: 0.281.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
@@ -226,7 +226,7 @@ orionis/foundation/config/testing/entities/testing.py,sha256=C_T054W0jv29JUH9aiK
226
226
  orionis/foundation/config/testing/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
227
227
  orionis/foundation/config/testing/enums/test_mode.py,sha256=IbFpauu7J-iSAfmC8jDbmTEYl8eZr-AexL-lyOh8_74,337
228
228
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
- orionis/metadata/framework.py,sha256=LTVm3WKzFPAzNsvW49ZCfsLTm2Zyzj2FDwRwRPg3UKs,4960
229
+ orionis/metadata/framework.py,sha256=SlTVFOuVJGZLeCZMsckhJOaW1jUWkTQ0Di4vE20nYbw,4960
230
230
  orionis/metadata/package.py,sha256=5p4fxjPpaktsreJ458pAl-Oi1363MWACPQvqXi_N6oA,6704
231
231
  orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
232
  orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -318,11 +318,11 @@ orionis/test/output/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
318
318
  orionis/test/output/contracts/dumper.py,sha256=ZpzlSJixGNbjFUVl53mCg_5djC-xwiit4ozQlzUps4g,1161
319
319
  orionis/test/suites/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
320
320
  orionis/test/suites/test_suite.py,sha256=H7prpaZJUMcMUBWvBatejxAJh3lToNHYwYSAHISlTuc,4827
321
- orionis/test/suites/test_unit.py,sha256=u2sWLLyh0I41kanRjkNOt9p-do_Qh5IW5bHSx9N-x2g,41671
321
+ orionis/test/suites/test_unit.py,sha256=ldlIQwCcHXmqFMRZ3XMwF9AKJC9pTYuUsBKKRE51jpA,42299
322
322
  orionis/test/suites/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
323
323
  orionis/test/suites/contracts/test_suite.py,sha256=arJSxWGjOHTVGiJrmqdqDrb9Ymt3SitDPZKVMBsWCf8,888
324
324
  orionis/test/suites/contracts/test_unit.py,sha256=5gaGXqCx07aDlAQJi8J-GF83kVj3uIx_fdPF1HYMKcg,5596
325
- orionis-0.280.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
325
+ orionis-0.281.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
326
326
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
327
327
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
328
  tests/example/test_example.py,sha256=DUZU6lWVFsyHtBEXx0cBxMrSCpOtAOL3PUoi9-tXAas,583
@@ -420,8 +420,8 @@ tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=
420
420
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
421
421
  tests/testing/test_testing_result.py,sha256=54QDn6_v9feIcDcA6LPXcvYhlt_X8JqLGTYWS9XjKXM,3029
422
422
  tests/testing/test_testing_unit.py,sha256=MeVL4gc4cGRPXdVOOKJx6JPKducrZ8cN7F52Iiciixg,5443
423
- orionis-0.280.0.dist-info/METADATA,sha256=bQLvSa7YKGVJKz30jQA-deTfaPjfSk7fXPks7bpy4co,4772
424
- orionis-0.280.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
425
- orionis-0.280.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
426
- orionis-0.280.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
427
- orionis-0.280.0.dist-info/RECORD,,
423
+ orionis-0.281.0.dist-info/METADATA,sha256=ewjvEk14IPdK37_Vsmpwq0USGt53y9xRirPXHKwXda8,4772
424
+ orionis-0.281.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
425
+ orionis-0.281.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
426
+ orionis-0.281.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
427
+ orionis-0.281.0.dist-info/RECORD,,