Mojo struct
TestSuiteReport
struct TestSuiteReport
A report for an entire test suite.
Fields
- reports (
List[TestReport]
): The reports for each test in the suite. - total_duration_ns (
UInt
): The total duration of the suite in nanoseconds. - failures (
Int
): The number of tests that failed. - skipped (
Int
): The number of tests skipped. - location (
_SourceLocation
): The source location of the test suite.
Implemented traits
AnyType
,
Copyable
,
Movable
,
UnknownDestructibility
,
Writable
Aliases
__copyinit__is_trivial
alias __copyinit__is_trivial = False
__del__is_trivial
alias __del__is_trivial = False
__moveinit__is_trivial
alias __moveinit__is_trivial = True
Methods
__init__
__init__(out self, *, var reports: List[TestReport], location: _SourceLocation)
write_to
write_to(self, mut writer: T)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!