hspec / HUnit

A unit testing framework for Haskell

Home Page:http://hackage.haskell.org/package/HUnit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spurious hidden lines at start of stderr

JonJagger opened this issue · comments

Hi. There appears to be lines at the start of the stderr each of which end with a lone carriage-return.
This makes the output look correct when printed but it messes you up if you are doing a regex on it.
I've had to adapt to this in my http://cyber-dojo.org docker-image for haskell-hunit
See https://github.com/cyber-dojo-languages/haskell-hunit/blob/master/docker/red_amber_green.rb

@JonJagger Hey! Thanks for opening this issue!

Test.HUnit.Text is not much used anymore. Most people use a "testing framework" for running HUnit tests instead. For that reason, I'm not going put much effort into it.

Take a look at hspec/hspec (other options I'm aware of are HTF and test-framework).

If this is something that you care about, then please open a PR that proposes a solution; otherwise this is a "won't fix".