ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Discover configured tests, execute them and persist optional result caches.

Class _PatternTestLoader Filter short method names before constructing test case instances.
Class TestingEngine Discover configured tests, execute them and persist optional result caches.
Function _raise_discovery_error Propagate traversal errors instead of silently omitting test directories.
Constant _DEFAULT_FILE_PATTERN test_*.py.
Constant _DEFAULT_METHOD_PATTERN test*.
Constant _DEFAULT_START_DIR tests.
Constant _DEFAULT_VERBOSITY Fallbacks mirroring orionis.foundation.config.testing.Testing, applied when a configuration key is absent (app.config returns None for unknown keys).
def _raise_discovery_error(error: OSError) -> NoReturn: (source)

Propagate traversal errors instead of silently omitting test directories.

Parameters
error:OSErrorFilesystem error reported while walking the discovery tree.
Returns
typing.NoReturnNo value is returned because the supplied exception is always raised.
Raises
OSErrorAlways propagate the original filesystem error.
_DEFAULT_FILE_PATTERN: str = (source)

test_*.py.

Value
'test_*.py'
_DEFAULT_METHOD_PATTERN: str = (source)

test*.

Value
'test*'
_DEFAULT_START_DIR: str = (source)

tests.

Value
'tests'
_DEFAULT_VERBOSITY: int = (source)

Fallbacks mirroring orionis.foundation.config.testing.Testing, applied when a configuration key is absent (app.config returns None for unknown keys).

Value
2