[go-nuts] Expressing test dependence

2017-02-24 Thread Dave Cheney
Within the testing package you choice is t.Skip and some set of package level variables. Maybe the more involved testing frameworks like convoy or gocheck offer more final version of t.Fatal. However, from the situation you've presented it feels to me that your solving the wrong problem. If

[go-nuts] Expressing test dependence

2017-02-24 Thread kpratt
What I want is a way to say if Test_A fails then don't run Test_B because it's guaranteed to fail and that just creates noise in the output. So instinctively I'd like something like annotations for this. // @DependsOn [ "Test_A" ] func Test_B(t *testing.T) { .test stuff }