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

class TestingProvider(ServiceProvider, DeferrableProvider): (source)

View In Hierarchy

Undocumented

Class Method provides Return the list of services provided by this provider.
Async Method boot Initialize the testing facade asynchronously.
Method register Register the unit testing service in the application container.
def provides(cls) -> list[type]: (source)

Return the list of services provided by this provider.

Returns
list[type[ITestingEngine]]A list containing the ITestingEngine interface that this provider registers.
async def boot(self): (source)

Initialize the testing facade asynchronously.

Prepares the testing environment by initializing the TestFacade.

Returns
NoneThis method does not return a value.
def register(self): (source)

Register the unit testing service in the application container.

Retrieves the application's testing configuration, creates a UnitTest service instance, and registers it as a singleton in the dependency injection container. The service is bound to the ITestingEngine interface.

Returns
NoneThis method does not return a value.