orionis 0.432.0__py3-none-any.whl → 0.435.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.
Files changed (76) hide show
  1. orionis/app.py +17 -0
  2. orionis/metadata/framework.py +1 -1
  3. orionis/support/entities/base.py +18 -37
  4. orionis/support/facades/console.py +3 -9
  5. orionis/support/facades/dumper.py +3 -9
  6. orionis/support/facades/logger.py +3 -9
  7. orionis/support/facades/path_resolver.py +3 -10
  8. orionis/support/facades/progress_bar.py +3 -10
  9. orionis/support/facades/testing.py +4 -10
  10. orionis/support/facades/workers.py +4 -9
  11. orionis/support/formatter/exceptions/contracts/parser.py +10 -7
  12. orionis/support/formatter/exceptions/parser.py +28 -26
  13. orionis/support/formatter/serializer.py +12 -5
  14. orionis/support/patterns/singleton/meta.py +17 -21
  15. orionis/support/standard/contracts/std.py +25 -24
  16. orionis/support/standard/exceptions/value.py +2 -2
  17. orionis/support/standard/std.py +26 -24
  18. orionis/support/wrapper/dot_dict.py +16 -51
  19. orionis/test/cases/asynchronous.py +17 -81
  20. orionis/test/cases/synchronous.py +17 -73
  21. orionis/test/contracts/dumper.py +17 -21
  22. orionis/test/contracts/kernel.py +5 -12
  23. orionis/test/contracts/logs.py +16 -21
  24. orionis/test/contracts/printer.py +70 -8
  25. orionis/test/contracts/render.py +7 -13
  26. orionis/test/contracts/test_result.py +58 -27
  27. orionis/test/contracts/unit_test.py +18 -18
  28. orionis/test/core/unit_test.py +325 -445
  29. orionis/test/entities/result.py +49 -21
  30. orionis/test/enums/status.py +11 -17
  31. orionis/test/exceptions/config.py +4 -8
  32. orionis/test/exceptions/failure.py +2 -18
  33. orionis/test/exceptions/persistence.py +4 -8
  34. orionis/test/exceptions/runtime.py +4 -8
  35. orionis/test/exceptions/value.py +5 -13
  36. orionis/test/kernel.py +14 -42
  37. orionis/test/output/dumper.py +21 -43
  38. orionis/test/output/printer.py +6 -146
  39. orionis/test/records/logs.py +57 -121
  40. orionis/test/validators/base_path.py +8 -6
  41. orionis/test/validators/execution_mode.py +2 -3
  42. orionis/test/validators/fail_fast.py +4 -8
  43. orionis/test/validators/folder_path.py +5 -7
  44. orionis/test/validators/module_name.py +3 -3
  45. orionis/test/validators/name_pattern.py +4 -9
  46. orionis/test/validators/pattern.py +4 -9
  47. orionis/test/validators/persistent.py +4 -14
  48. orionis/test/validators/persistent_driver.py +7 -12
  49. orionis/test/validators/print_result.py +4 -9
  50. orionis/test/validators/tags.py +6 -7
  51. orionis/test/validators/throw_exception.py +7 -14
  52. orionis/test/validators/verbosity.py +15 -5
  53. orionis/test/validators/web_report.py +6 -10
  54. orionis/test/validators/workers.py +9 -4
  55. orionis/test/view/render.py +9 -26
  56. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/METADATA +1 -1
  57. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/RECORD +76 -75
  58. tests/support/entities/mock_dataclass.py +16 -10
  59. tests/support/entities/test_base.py +6 -14
  60. tests/support/patterns/singleton/test_patterns_singleton.py +7 -8
  61. tests/support/standard/test_services_std.py +113 -37
  62. tests/support/wrapper/test_services_wrapper_docdict.py +25 -40
  63. tests/testing/cases/test_testing_asynchronous.py +14 -14
  64. tests/testing/cases/test_testing_synchronous.py +12 -14
  65. tests/testing/entities/test_testing_result.py +12 -51
  66. tests/testing/enums/test_testing_status.py +8 -13
  67. tests/testing/output/test_testing_dumper.py +3 -6
  68. tests/testing/output/test_testing_printer.py +5 -5
  69. tests/testing/records/test_testing_records.py +16 -26
  70. tests/testing/test_testing_unit.py +8 -94
  71. tests/testing/validators/test_testing_validators.py +55 -112
  72. tests/testing/view/test_render.py +4 -5
  73. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/WHEEL +0 -0
  74. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/licenses/LICENCE +0 -0
  75. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/top_level.txt +0 -0
  76. {orionis-0.432.0.dist-info → orionis-0.435.0.dist-info}/zip-safe +0 -0
@@ -22,28 +22,28 @@ class IUnitTest(ABC):
22
22
  web_report: bool
23
23
  ) -> 'IUnitTest':
24
24
  """
25
- Configure the unit test runner with the specified options.
25
+ Configure the unit test runner with the provided options.
26
26
 
27
27
  Parameters
28
28
  ----------
29
29
  verbosity : int or VerbosityMode
30
- Level of verbosity for test output.
30
+ Verbosity level for test output.
31
31
  execution_mode : str or ExecutionMode
32
- Mode in which tests are executed (e.g., sequential, parallel).
32
+ Execution mode for running tests.
33
33
  max_workers : int
34
34
  Maximum number of worker threads or processes.
35
35
  fail_fast : bool
36
- If True, stop execution on first failure.
36
+ Whether to stop on the first test failure.
37
37
  print_result : bool
38
- If True, print test results to the console.
38
+ Whether to print test results to the console.
39
39
  throw_exception : bool
40
- If True, raise exceptions on test failures.
40
+ Whether to raise exceptions on test failures.
41
41
  persistent : bool
42
- If True, enable persistent storage for test results.
43
- persistent_driver : str | PersistentDrivers
44
- Name of the persistent storage driver.
42
+ Whether to enable persistent storage for test results.
43
+ persistent_driver : str or PersistentDrivers
44
+ Persistent storage driver to use.
45
45
  web_report : bool
46
- If True, generate a web-based test report.
46
+ Whether to generate a web-based test report.
47
47
 
48
48
  Returns
49
49
  -------
@@ -63,20 +63,20 @@ class IUnitTest(ABC):
63
63
  tags: Optional[List[str]] = None
64
64
  ) -> 'IUnitTest':
65
65
  """
66
- Discover test cases in a specified folder.
66
+ Discover test cases within a specified folder.
67
67
 
68
68
  Parameters
69
69
  ----------
70
70
  base_path : str or Path
71
71
  Base directory for test discovery.
72
72
  folder_path : str
73
- Relative or absolute path to the folder containing tests.
73
+ Path to the folder containing test files.
74
74
  pattern : str
75
- File pattern to match test files (e.g., 'test_*.py').
75
+ File pattern to match test files.
76
76
  test_name_pattern : str, optional
77
77
  Pattern to match test function or class names.
78
78
  tags : list of str, optional
79
- List of tags to filter discovered tests.
79
+ Tags to filter discovered tests.
80
80
 
81
81
  Returns
82
82
  -------
@@ -93,7 +93,7 @@ class IUnitTest(ABC):
93
93
  test_name_pattern: Optional[str] = None
94
94
  ) -> 'IUnitTest':
95
95
  """
96
- Discover test cases in a specified module.
96
+ Discover test cases within a specified module.
97
97
 
98
98
  Parameters
99
99
  ----------
@@ -117,14 +117,14 @@ class IUnitTest(ABC):
117
117
  Returns
118
118
  -------
119
119
  dict
120
- Dictionary containing the results of the test execution.
120
+ Results of the test execution.
121
121
  """
122
122
  pass
123
123
 
124
124
  @abstractmethod
125
125
  def getTestNames(self) -> List[str]:
126
126
  """
127
- Get the list of discovered test names.
127
+ Retrieve the list of discovered test names.
128
128
 
129
129
  Returns
130
130
  -------
@@ -160,7 +160,7 @@ class IUnitTest(ABC):
160
160
  Returns
161
161
  -------
162
162
  dict
163
- Dictionary containing the results of the last test execution.
163
+ Results of the last test execution.
164
164
  """
165
165
  pass
166
166