runner
runner copied to clipboard
Improve feedback of failed assertions in Julia
Similar to #235 and #222 : failed assertions in Julia print to <LOG::> instead of <FAILED::>:

If the direct reason for using <LOG::> is no longer relevant, Julia reporter could be improved just like LUA and Golang ones recently.
The repo is https://github.com/codewars/FactCheck.jl
Kumite with example test suite: https://www.codewars.com/kumite/63ffce08babb196de6d63ad5
Identified issues:
- Failure messages are displayed as an unstructured line instead of
<FAILED::>. Note: the direct cause seems to be not the same as #222 and #235 but rather a simple bug in the Julia reporter. - The way how
@factis translated into a tuple of<IT::>and<PASSED::>or<FAILED::>makes test output awkward sometimes- Custom assertion messages are displayed as
<IT::>titles instead of<FAILED::>messages - Failed
fact_throwsgives awkward feedback
- Custom assertion messages are displayed as
- Stacktraces are displayed as an unstructured line instead of
<LOG::>container - Non-standard assertion functions are stringified poorly
\tused in some messages causes that multiline formatted elements may not line up correctly- Durations are missing
- Multiline group titles are missing
<:LF:>and leak into a<LOG::> - Crashing tests do not show
<ERROR::> - Not sure if
@pendingis displayed correctly
Deployed https://github.com/codewars/FactCheck.jl/pull/2