You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The member must return something compatible with
13
-
/// IEnumerable<object[]> with the test data.
4
+
/// Data attribute combining <see cref="MemberDataAttributeBase"/> semantics with AutoFixture + NSubstitute specimen generation.
14
5
/// </summary>
6
+
/// <remarks>
7
+
/// 1. The referenced member (field / property / method) must return a type assignable to <c>IEnumerable<object?[]></c>.<br/>
8
+
/// 2. Supplied row values are appended with generated specimens for any remaining test method parameters.<br/>
9
+
/// 3. Parameters decorated with <see cref="FrozenAttribute"/> participate in a two-phase reuse model:
10
+
/// <list type="number">
11
+
/// <item><b>Direct positional reuse</b>: If the row already supplies a value at the frozen parameter's index, that instance is injected (frozen) into the fixture.</item>
12
+
/// <item><b>Promotion</b>: If the frozen parameter appears later (no supplied value at its index yet) an earlier supplied argument whose runtime type is assignable to the frozen parameter type is promoted and injected.</item>
13
+
/// </list>
14
+
/// This mirrors the behavior of <c>ClassAutoNSubstituteDataAttribute</c> while extending it with the promotion scenario common in member data ordering.
0 commit comments