Closed ANeumann82 closed 4 years ago
My only concern is that "false is not true" is not a great message when a test fails. The
Infof
s do help, but they have the downside of spamming the output. I wonder whether we could come up with something even better? Perhaps return a structured object from thefunc
and do a more complex assertion (which hopefully will have a more meaningful error message)?
I mostly agree. I tried to figure something out, but it's all pretty annoying. The structured object return might be an option, but it adds a lot of complexity. I don't think the log spam is too much, i've added a bit more detailed logs and removed the spammy output that was there before.
Fixes #146
Signed-off-by: Andreas Neumann aneumann@mesosphere.com