Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TheoryData with MemberAutoMockData no longer works with xunit 2.9.2 #152

Closed
dalyIsaac opened this issue Sep 28, 2024 · 1 comment · Fixed by #153
Closed

TheoryData with MemberAutoMockData no longer works with xunit 2.9.2 #152

dalyIsaac opened this issue Sep 28, 2024 · 1 comment · Fixed by #153

Comments

@dalyIsaac
Copy link

I'm not a user of this library, but I recently encountered an issue (xunit/xunit#3034) which this library also suffers from:

XUnit 2.9.21 introduced specific handling of TheoryData which prevents ConvertDataItem being called in MemberAutoDataBaseAttribute.

I fixed this by pulling more logic into my own MemberAutoDataBaseAttribute lookalike.

Footnotes

  1. https://github.com/xunit/xunit/commit/0f8f1563876f2cbbb9af27e0bb14b824372fd4a8#diff-e977fc17c9612438c073c7620c84f91c706c581b8f6d990b9e5be748fc096432R77

@piotrzajac piotrzajac linked a pull request Oct 4, 2024 that will close this issue
@dependabot dependabot bot closed this as completed in #153 Oct 4, 2024
@piotrzajac
Copy link
Collaborator

@dalyIsaac thank you for reporting the issue. It was fixed in version 3.6.2

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 a pull request may close this issue.

2 participants