How to a specify a list/enumerable's length/size using an attribute on a property passed into a test using Autofixture's declarative parameter style?
I want to be able to make this test pass without moving parameters into the test body.
[Theory, AutoData]
public void CollectionSizeTest(
List<int> defaultSize,
List<int> customSize,
List<int> customSize2,
IEnumerable<string> empty
)
{
Assert.Equal(3, defaultSize.Count);
Assert.Equal(5, customSize.Count);
Assert.Equal(6, customSize2.Count);
Assert.Empty(empty);
}