From 3fc8b885cf5f9668abc6366dd89fba608825d219 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 18:38:10 +0000 Subject: [PATCH 1/6] Initial plan From 79dffa5af3bf359786f2a9c2e3a340cc6ccdf8aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 18:44:21 +0000 Subject: [PATCH 2/6] Use correct xref link for TestDataRow in data-driven testing docs Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> --- .../testing/unit-testing-mstest-writing-tests-data-driven.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md index 18d421a4db545..58333966ab7a7 100644 --- a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md +++ b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md @@ -323,7 +323,7 @@ public class IgnoreDynamicDataExample ## TestDataRow -The `TestDataRow` class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: +The class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: - **Custom display names**: Set a unique display name per test case - **Test categories**: Attach metadata to individual test cases From 3ebdec6a4a569de317408b156a6356a624f98de8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:03:58 +0000 Subject: [PATCH 3/6] Add xref for TestDataRow.DisplayName property Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> --- .../testing/unit-testing-mstest-writing-tests-data-driven.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md index 58333966ab7a7..5f3f4d0913bbf 100644 --- a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md +++ b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md @@ -325,7 +325,7 @@ public class IgnoreDynamicDataExample The class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: -- **Custom display names**: Set a unique display name per test case +- **Custom display names**: Set a unique display name per test case using the property - **Test categories**: Attach metadata to individual test cases - **Ignore messages**: Skip specific test cases with reasons - **Type-safe data**: Use generics for strongly-typed test data From bf7c7c2be842bdf62d46905babb36d5734f003f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:05:32 +0000 Subject: [PATCH 4/6] Add xref for TestDataRow.TestCategories property Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> --- .../testing/unit-testing-mstest-writing-tests-data-driven.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md index 5f3f4d0913bbf..a02f0289c19c1 100644 --- a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md +++ b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md @@ -326,7 +326,7 @@ public class IgnoreDynamicDataExample The class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: - **Custom display names**: Set a unique display name per test case using the property -- **Test categories**: Attach metadata to individual test cases +- **Test categories**: Attach metadata to individual test cases using the property - **Ignore messages**: Skip specific test cases with reasons - **Type-safe data**: Use generics for strongly-typed test data From 383a4bf1acce5548e923d4d56ae19cb3d91176c8 Mon Sep 17 00:00:00 2001 From: "Meaghan Osagie (Lewis)" Date: Mon, 9 Mar 2026 12:09:16 -0700 Subject: [PATCH 5/6] Update date and enhance TestDataRow section Updated the date for the document and enhanced the description of TestDataRow features. --- .../unit-testing-mstest-writing-tests-data-driven.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md index a02f0289c19c1..7572d4e68b1ad 100644 --- a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md +++ b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md @@ -3,7 +3,7 @@ title: Data-driven testing in MSTest description: Learn how to use data-driven testing in MSTest with DataRow, DynamicData, and TestDataRow to run the same test with multiple inputs. author: Evangelink ms.author: amauryleve -ms.date: 02/05/2026 +ms.date: 03/09/2026 --- # Data-driven testing in MSTest @@ -325,10 +325,10 @@ public class IgnoreDynamicDataExample The class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: -- **Custom display names**: Set a unique display name per test case using the property -- **Test categories**: Attach metadata to individual test cases using the property -- **Ignore messages**: Skip specific test cases with reasons -- **Type-safe data**: Use generics for strongly-typed test data +- **Custom display names**: Set a unique display name per test case using the property. +- **Test categories**: Attach metadata to individual test cases using the property. +- **Ignore messages**: Skip specific test cases with reasons using the property. +- **Type-safe data**: Use generics for strongly-typed test data. ### Basic usage From 024551da70db5d35a6ae6916c13d55340a91d5b7 Mon Sep 17 00:00:00 2001 From: "Meaghan Osagie (Lewis)" Date: Mon, 9 Mar 2026 15:19:41 -0700 Subject: [PATCH 6/6] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../testing/unit-testing-mstest-writing-tests-data-driven.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md index 7572d4e68b1ad..ecc9972151dd4 100644 --- a/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md +++ b/docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md @@ -3,6 +3,7 @@ title: Data-driven testing in MSTest description: Learn how to use data-driven testing in MSTest with DataRow, DynamicData, and TestDataRow to run the same test with multiple inputs. author: Evangelink ms.author: amauryleve +ai-usage: ai-assisted ms.date: 03/09/2026 --- @@ -323,7 +324,7 @@ public class IgnoreDynamicDataExample ## TestDataRow -The class provides enhanced control over test data in data-driven tests. Use `IEnumerable>` as your data source return type to specify: +The class provides enhanced control over test data in data-driven tests. Use of as your data source return type to specify: - **Custom display names**: Set a unique display name per test case using the property. - **Test categories**: Attach metadata to individual test cases using the property.