Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seangwright/beadf91dd034841451d4e50632b622ab to your computer and use it in GitHub Desktop.
Save seangwright/beadf91dd034841451d4e50632b622ab to your computer and use it in GitHub Desktop.
/// <summary>
/// Sourced from https://tech.trailmax.info/2014/01/convert-your-projects-from-nunitmoq-to-xunit-with-nsubstitute/
/// </summary>
public class AutoDomainDataAttribute : AutoDataAttribute
{
public AutoDomainDataAttribute()
: base(() => new Fixture().Customize(new AutoNSubstituteCustomization()))
{ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment