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

Generate an application test case.

Method createFiles Create a test module with a discoverable filename.
Class Variable description Creates a new application test case..
Class Variable path_key tests.
Class Variable signature make:test.
Class Variable success_label Test.
Class Variable template_name test.
Class Variable timestamps Timestamps flag used by MakeTest.

Inherited from MakeStubCommand:

Method createFile Render one stub into its configured application directory.
Method getReplacements Read string replacements from the parsed command arguments.
Method getTemplateName Return the selected template name.
Async Method handle Create configured files without blocking the running event loop.
Class Variable arguments Command-line argument declarations accepted by this command.
Class Variable postfix Suffix appended to the generated resource name.
Class Variable prefix Prefix applied when constructing names or storage keys.
Class Variable replacement_arguments Command arguments forwarded to template placeholder replacement.
def createFiles(self, app: IApplication, name: str) -> tuple[tuple[str, str], ...]: (source)

Create a test module with a discoverable filename.

Parameters
app:orionis.IApplicationApplication that resolves the tests directory.
name:strTest name and optional nested directory path.
Returns
tuple[tuple[str, str], ...]Label and generated path relative to the application root.
Raises
ValueErrorIf the final path component does not contain a test name.
description: str = (source)

Creates a new application test case..

signature: str = (source)

make:test.

timestamps: bool = (source)

Timestamps flag used by MakeTest.