You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a way to ignore tests if necessary. A great use case for this is a situation where you need to account for a test in the future, but it doesn't apply now. Your choices at the moment are to either delete it or comment the test out. I would prefer to just be able to ignore it. Another great use-case is integration tests with third parties that you don't always want to run. You could implement it like so:
g.Ignore("Should add two numbers ", func() {
g.Assert(1+1).Equal(2)
})
Testing frameworks in Scala have a similar feature.
The text was updated successfully, but these errors were encountered:
@marcosnils awesome! Excited to use this feature. I have to say though that Xit is far less clear than a name like Ignore. Not sure why it was selected.
There should be a way to ignore tests if necessary. A great use case for this is a situation where you need to account for a test in the future, but it doesn't apply now. Your choices at the moment are to either delete it or comment the test out. I would prefer to just be able to ignore it. Another great use-case is integration tests with third parties that you don't always want to run. You could implement it like so:
Testing frameworks in Scala have a similar feature.
The text was updated successfully, but these errors were encountered: