ItsyBitsy.Xunit.TupleMemberData 1.0.0.2

Provides an attribute that enables tuple-typed test data sources in xunit.

Install-Package ItsyBitsy.Xunit.TupleMemberData -Version 1.0.0.2
dotnet add package ItsyBitsy.Xunit.TupleMemberData --version 1.0.0.2
<PackageReference Include="ItsyBitsy.Xunit.TupleMemberData" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ItsyBitsy.Xunit.TupleMemberData --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
[Theory, TupleMemberData(nameof(TestData))]
public static void Test(int i, string s) => Assert.Equal(s, i.ToString(CultureInfo.InvariantCulture));
public static readonly (int, string)[] TestData = new[] {
    (0, "0"),
    (1, "1"),
};
[Theory, TupleMemberData(nameof(TestData))]
public static void Test(int i, string s) => Assert.Equal(s, i.ToString(CultureInfo.InvariantCulture));
public static readonly (int, string)[] TestData = new[] {
    (0, "0"),
    (1, "1"),
};

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0.2 79 5/16/2020
1.0.0.1 64 4/22/2020