resharper-xunit icon indicating copy to clipboard operation
resharper-xunit copied to clipboard

Feature: Bundled SSR patterns

Open drewnoakes opened this issue 10 years ago • 1 comments

It'd be nice to have some SSR (structural search/replace) patterns for some CA/QF actions on Xunit code. Are there any already?

For example:

// before
Assert.AreEqual(null, Foo());
// after
Assert.Null(Foo());

If there's interest in this feature, I'll endeavour to capture some patterns.

drewnoakes avatar Jul 18 '15 21:07 drewnoakes

Yep. There's always interest! Figuring out what the patterns should be is the tricky/time consuming thing. If you (or anyone else) could suggest some, that'd be great!

(Another one might be a pattern or set of patterns to convert from nunit to xunit)

citizenmatt avatar Jul 22 '15 09:07 citizenmatt