Skip to content

Commit 61355ac

Browse files
authored
Add tip for Combinatorial.MSTest (#46490)
1 parent 293b396 commit 61355ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/core/testing/unit-testing-mstest-writing-tests-attributes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ Use the following elements to set up data-driven tests. For more information, se
7272
- <xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute>
7373
- <xref:Microsoft.VisualStudio.TestTools.UnitTesting.DynamicDataAttribute>
7474

75+
> [!TIP]
76+
> While combinatorial testing isn't directly supported by MSTest, an external [Combinatorial.MSTest NuGet packages](https://www.nuget.org/packages/Combinatorial.MSTest/) adds that support. The package is open source maintained on [Combinatorial.MSTest GitHub repository](https://github.com/Youssef1313/Combinatorial.MSTest). This package is not maintained by Microsoft.
77+
7578
### `DataRowAttribute`
7679

7780
The [DataRow](xref:Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute) attribute allows you to run the same test method with multiple different inputs. It can appear one or multiple times on a test method. It should be combined with the [TestMethod](xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute) attribute.

0 commit comments

Comments
 (0)