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
Simplify even further allowed type for the data souce methods.
Background and Motivation
Data sources provided for [DynamicData] have been simplified to allow IEnumerable<ITuple> in addition to IEnumerable<object[]> and we should go even further by allowing T to be any type (e.g. IEnumerable<int>, IEnumerable<MyType>...). As you may still want to use a source despite having a single parameter in your test method as you benefit from unfolding/expanding.
Proposed Feature
Allow any IEnumerable<T> type.
The text was updated successfully, but these errors were encountered:
Summary
Simplify even further allowed type for the data souce methods.
Background and Motivation
Data sources provided for
[DynamicData]
have been simplified to allowIEnumerable<ITuple>
in addition toIEnumerable<object[]>
and we should go even further by allowingT
to be any type (e.g.IEnumerable<int>
,IEnumerable<MyType>
...). As you may still want to use a source despite having a single parameter in your test method as you benefit from unfolding/expanding.Proposed Feature
Allow any
IEnumerable<T>
type.The text was updated successfully, but these errors were encountered: