xunit / resharper-xunit

ReSharper runner for xUnit.net
Apache License 2.0
90 stars 21 forks source link

Feature: Bundled SSR patterns #68

Open drewnoakes opened 8 years ago

drewnoakes commented 8 years ago

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.

citizenmatt commented 8 years ago

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)