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
Now for my next test function i could reuse the same cases in CaseFixture if the case functions took a different fixture than fixture1, for example fixture2. The naive way with a lot of code duplication would be:
I have several cases in a class, all of them have a fixture in common, lets call it
fixture1
something like.Now for my next test function i could reuse the same cases in
CaseFixture
if the case functions took a different fixture thanfixture1
, for examplefixture2
. The naive way with a lot of code duplication would be:Is there a way of reuse the cases instead? Something like passing the fixture to use from the test function to the Case class methods?
The text was updated successfully, but these errors were encountered: