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.

class documentation

Configure testing settings.

Returns
NoneInstantiating this class does not return a value.
Method __post_init__ Validate runner options and normalize verbosity after construction.
Class Variable cache_results Cache results produced by field.
Instance Variable fail_fast If True, stops execution at the first failure. Defaults to False.
Instance Variable file_pattern Filename pattern to identify test files. Defaults to 'test_*.py'.
Instance Variable method_pattern Pattern to filter specific test methods. Defaults to 'test*'.
Instance Variable start_dir Directory to search for tests. Defaults to 'tests'.
Instance Variable verbosity Level of detail in test output. 0: silent, 1: standard, 2: detailed. Defaults to 2 (detailed).

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method __init__ Initialize declared fields and public extra attributes.
Method _dynamicAttributes Return public instance attributes that are not declared fields.
Method _validateExtraNames Validate names and storage for public extra attributes.
Method getFields Describe declared fields and, optionally, dynamic attributes.
Method toDict Return a recursively copied dictionary of declared and extra values.
Class Variable __slots__ Declare that this class introduces no additional instance slots.
Class Variable _orionis_field_metadata Cache declared fields and normalized type names for each concrete class.
def __post_init__(self): (source)

Validate runner options and normalize verbosity after construction.

Returns
NoneThis method performs validation and normalization and returns None.
Raises
ValueErrorIf any of the runner options are invalid.
cache_results: bool = (source)

Cache results produced by field.

fail_fast: bool = (source)

If True, stops execution at the first failure. Defaults to False.

file_pattern: str = (source)

Filename pattern to identify test files. Defaults to 'test_*.py'.

method_pattern: str = (source)

Pattern to filter specific test methods. Defaults to 'test*'.

start_dir: str = (source)

Directory to search for tests. Defaults to 'tests'.

verbosity: int | orionis.foundation.config.testing.enums.VerbosityMode = (source)

Level of detail in test output. 0: silent, 1: standard, 2: detailed. Defaults to 2 (detailed).