Skip to content

Commit 6267c9a

Browse files
committed
xmldocs for second constructor.
1 parent 6d4d2c1 commit 6267c9a

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

TUnit.Core/TestDataRow.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal interface ITestDataRow
2222
/// <typeparam name="T">The type of the test data.</typeparam>
2323
/// <param name="Data">The actual test data to be passed to the test method.</param>
2424
/// <param name="DisplayName">
25-
/// Optional custom display name for the test case. If not specified, the argument expression from <paramref name="Data"/> is used.
25+
/// Optional custom display name for the test case.
2626
/// Supports parameter substitution using $paramName or $arg1, $arg2, etc.
2727
/// </param>
2828
/// <param name="Skip">
@@ -52,6 +52,22 @@ public record TestDataRow<T>(
5252
// analyzers might give a warning, if an explicit value is provided. Usually no explicit values
5353
// should be provided to a parameter that is automatically filled by the compiler.
5454
// Having a separate overload avoids this issue.
55+
56+
/// <summary>
57+
/// Wraps test data with optional metadata for customizing test execution.
58+
/// Use this when returning data from method/class data sources to specify
59+
/// per-row display names, skip reasons, or categories.
60+
/// </summary>
61+
/// <param name="Data">The actual test data to be passed to the test method.</param>
62+
/// <param name="Skip">
63+
/// Optional skip reason. When set, the test case will be skipped with this message.
64+
/// </param>
65+
/// <param name="Categories">
66+
/// Optional categories to apply to this specific test case.
67+
/// </param>
68+
/// <param name="dataCallerArgumentExpression">
69+
/// If <ref name="DisplayName"/> is not specified, the argument expression from <paramref name="Data"/> is used.
70+
/// </param>
5571
public TestDataRow(
5672
T Data,
5773
string? Skip = null,

0 commit comments

Comments
 (0)