Open AugustNagro opened 6 days ago
I've been wondering whether hiding the stack trace is that useful. I think it was done to avoid having traces from munit, but this behaviour is flaky as seen here.
Yeah I also understand that I'm trying to do something against the grain here. If it were configurable at least that would be great.
Ok, it looks like it would never print the stack trace and that was on purpose, fixing it in https://github.com/scalameta/munit/pull/856
Should help with your case too or at least shed more light on it
When using a MUnit test inside a helper function that lives in a different file than the FunSuite subtype, the error output is very unhelpful.
I've made a minimal reproducer here: https://github.com/AugustNagro/munit-helper-bad-trace
If assertEquals printed the stacktrace (like assert() and as suggested in https://github.com/scalameta/munit/issues/782 ), that would make things much better.