Closed basharov closed 7 years ago
It would be great to have excluding of tests, for example, by renaming It to Xit:
It
Xit
// This test will be excluded and not run g.Xit("Should add two numbers ", func() { g.Assert(1+1).Equal(2) })
And vice versa, force a single test or test suite to run by renaming It to Fit:
Fit
// Only this tests will run g.Fit("Should add two numbers ", func() { g.Assert(1+1).Equal(2) })
Thanks!
@basharov I like the Xit feature, in fact we though about implementing it but we didn't have time.
Regarding the Fit thing, wouldn't goblin.run flag work?
goblin.run
Ping
Fixed by #62
It would be great to have excluding of tests, for example, by renaming
It
toXit
:And vice versa, force a single test or test suite to run by renaming
It
toFit
:Thanks!