New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print verbose output (-v) on failures #144
Comments
Can you say specifically which output you're talking about please? An example would be helpful. |
@rogpeppe a simple example below.
func TestFoo(t *testing.T) {
c := qt.New(t)
c.Assert([]string{"a", "b", "c", "d"}, qt.DeepEquals, []string{"a", "b", "c"})
}
|
This behavior was introduced as a fix for #33 |
#147 is an attempt to fix this. That's released as |
quicktest's output is much nicer when running with the
-v
flag, but it's not a great experience having that flag on all the time, and it's often a little fiddly to toggle it on and off in editors.So, I would be happy if quicktest could make the verbose output the default on
qt.Assert
failures.I was reminded about this by @rogpeppe 's fix here rogpeppe/go-internal#148 -- before that I always ran with the
-v
flag when using thetestscripts
package, which was annoying in general, because I only needed the verbose output when it failed.The text was updated successfully, but these errors were encountered: