Replies: 1 comment
-
|
If you don't actively change the
Yes, as long as the subtest is using the |
Beta Was this translation helpful? Give feedback.
-
|
If you don't actively change the
Yes, as long as the subtest is using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a bunch of code I think could benefit from using the suite package, but I loath updating everything that's currently using
assert.Equal()/require.NoError(etc) tosuite.Equal, orsuite.Require().NoError().Another case I have is I already had some reuse going on with some helper funcs that just took a
testing.Tand calledt.Run(), and like the UX oft.Runmore thansuite.Run, and wondering if I can dot := suite.T(); t.Run(...)instead?Are there any trade-offs to be concerned with by not using the suite methods, and only using the suite to handle common test setup and such?
Beta Was this translation helpful? Give feedback.
All reactions