Add test-runner std.testing output settings #14245
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Milestone
All
std.testing
usesstd.debug.print
.I've tried implementing custom test-runner, but I couldn't manage the output of the testing library.
For example we have test:
When cycling over
builtin.test_functions
and running failing test - error message prints immideatly. But I need to print it with special prefix<ERROR::>
, which is currently seems impossible.I think supplying test runner with pointer to error message would be quite useful.
The text was updated successfully, but these errors were encountered: