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
Personally, I think it would be the most intiutive / least boilerplate to inject at the class with the @ExtendWith(SnapshotExtension.class) annotation. Or maybe if possible, walk the class tree and inject into all classes.
The text was updated successfully, but these errors were encountered:
When using nested tests,
Expect
is not injected into the outer class.Example
This can be worked around by defining
expect
in the inner classWork around example
Personally, I think it would be the most intiutive / least boilerplate to inject at the class with the
@ExtendWith(SnapshotExtension.class)
annotation. Or maybe if possible, walk the class tree and inject into all classes.The text was updated successfully, but these errors were encountered: