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
yeah this seems related, this would help to get that ball rolling. It seems that issue has been passed around a few times. If there is interest in introducing rstest I can take a look at moving that issue forward.
Related Problems?
I notice there is some setup required for tests that would like to test multiple cases with slightly different inputs.
Extra setup can lead to tests not being updated as easily, and being neglected more often than if its trivial to add a case.
I personally also find the fixture based approach easier to read / reason about, and it takes out the extra logic needed to setup a test fixture.
Describe the solution you'd like:
Try out using
rstest
crate as a dev dependency to improve the test writing ergonomics.Example:
vs
Considered Alternatives
No response
Additional Context
Some considerations might include if this will negatively impact the speed at which tests build if used frequently
The text was updated successfully, but these errors were encountered: