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 ITestingEngine(ABC): (source)
Known subclasses: orionis.test.core.engine.TestingEngine
Define the contract for testing engine implementations.
| Method | discover |
Discover and filter tests using configuration parameters. |
| Async Method | run |
Run the discovered test suite asynchronously. |
| Method | set |
Set the fail-fast behavior for the testing engine. |
| Method | set |
Set the file pattern for test file discovery. |
| Method | set |
Set the method pattern for test method discovery. |
| Method | set |
Set the directory or Python file used for test discovery. |
| Method | set |
Set the verbosity level for the testing engine. |
| Method | without |
Disable the start panel display for the testing engine. |
orionis.test.core.engine.TestingEngineDiscover and filter tests using configuration parameters.
| Returns | |
unittest.TestSuite | Test suite containing filtered test cases. |
orionis.test.core.engine.TestingEngineRun the discovered test suite asynchronously.
Discovers the tests, builds a runner carrying the configured verbosity, and executes them using a thread pool to avoid blocking. Saves results to cache if enabled.
| Returns | |
list[orionis.test.entities.result.TestResult] | List of TestResult objects containing test execution outcomes. |
orionis.test.core.engine.TestingEngineSet the fail-fast behavior for the testing engine.
| Parameters | |
failbool | Whether to stop on first failure. |
| Returns | |
typing.Self | Returns self for method chaining. |
orionis.test.core.engine.TestingEngineSet the file pattern for test file discovery.
| Parameters | |
filestr | Pattern to match test files. |
| Returns | |
typing.Self | Returns self for method chaining. |
orionis.test.core.engine.TestingEngineSet the method pattern for test method discovery.
| Parameters | |
methodstr | Pattern to match test methods. |
| Returns | |
typing.Self | Returns self for method chaining. |
orionis.test.core.engine.TestingEngineSet the directory or Python file used for test discovery.
| Parameters | |
startstr | Directory or Python file, relative to the application root when not absolute. |
| Returns | |
typing.Self | Returns self for method chaining. |
orionis.test.core.engine.TestingEngineSet the verbosity level for the testing engine.
| Parameters | |
verbosity:int | Verbosity level to set. |
| Returns | |
typing.Self | Returns self for method chaining. |
orionis.test.core.engine.TestingEngineDisable the start panel display for the testing engine.
| Returns | |
typing.Self | Returns self for method chaining. |