Skip to content

Instantly share code, notes, and snippets.

@adamjasinski
adamjasinski / TheoryWithDataDisposalAttribute.cs
Last active December 10, 2015 00:38
xUnit TheoryAttribute specialization with data disposal facility
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Prototypes.Xunit.Extensions;
{
/// <summary>
/// Theory that disposes data items after finishing the execution.