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 TestResult(BaseEntity): (source)
Represent the outcome of a test execution.
| Parameters | |
| id | Unique identifier for the test result. |
| name | Name of the test. |
| status | Status of the test execution (e.g., passed, failed). |
| execution | Time taken to execute the test, in seconds. |
| error | Error message if the test failed, otherwise None. |
| traceback | Formatted traceback lines if an error occurred, otherwise None. |
| class | Name of the class containing the test, if applicable. |
| method | Name of the method representing the test, if applicable. |
| module | Name of the module containing the test, if applicable. |
| file | Path to the file containing the test, if applicable. |
| doc | Docstring of the test, if applicable. |
| exception | Name of the raised exception class if an error occurred, otherwise None. |
| line | Line number in the source file where the test is defined, if applicable. |
| Returns | |
None | This class does not return a value upon instantiation. |
| Class Variable | class |
Undocumented |
| Class Variable | doc |
Undocumented |
| Class Variable | error |
Undocumented |
| Class Variable | exception |
Undocumented |
| Class Variable | execution |
Undocumented |
| Class Variable | file |
Undocumented |
| Class Variable | id |
Undocumented |
| Class Variable | line |
Undocumented |
| Class Variable | method |
Undocumented |
| Class Variable | module |
Undocumented |
| Class Variable | name |
Undocumented |
| Class Variable | source |
Undocumented |
| Class Variable | status |
Undocumented |
| Class Variable | traceback |
Undocumented |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __post |
Provide a no-op initialization hook for subclass validation. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |