Skip to content

Add MemberDataSerializer to support serialization - #3334

Closed
ViktorHofer wants to merge 1 commit into
dotnet:masterfrom
ViktorHofer:XUnitMemberDataSerializer
Closed

ViktorHofer wants to merge 1 commit into
dotnet:masterfrom
ViktorHofer:XUnitMemberDataSerializer

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Jul 21, 2019 •

Copy link
Copy Markdown
Member

Fixes theory member data now shown in VS Test Explorer (instead they are just grouped together as one).

Works around xunit/xunit#429. Allows to wrap a "complex" type to support serialization until xunit adds an in-built serialization mechanism.

@ViktorHofer
ViktorHofer requested review from danmoseley and safern July 21, 2019 11:03
@ViktorHofer ViktorHofer self-assigned this Jul 21, 2019
@ViktorHofer

Copy link
Copy Markdown
Member Author

Closing as I just realized the rewrite costs of this. The wrapper needs to be instantiated in the theory data plus the types need to be changed, at least the parameter type in the test method and eventually the type in the TheoryData. I would much more like to see this functionally be present in xunit itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant