Very interesting question. It doesn’t seem like that’s currently possible without creating a custom formatter. Being able to provide Inspect.Opts to the default ExUnit formatter would be a big win.
I agree. I was looking into this question last night and was surprised I couldn’t find anything. I was also surprised I’ve never run into this myself!
@joshua.aug for now you can use dbg(failing_data, charlists: :as_lists) just so you can see better what’s going on. It’s not ideal but it’s the best I can come up with for now without suggesting you write your own formatter
This is a very interesting idea. I’ve had some projects with binary protocol parsers that would benefit highly from a custom formatter, as it is incomprehensible when it starts to spew charlists for thousands of lines .