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

Easy constructor customization for NSubstitute class mocks #1014

Open
zvirja opened this issue Apr 4, 2018 · 0 comments
Open

Easy constructor customization for NSubstitute class mocks #1014

zvirja opened this issue Apr 4, 2018 · 0 comments
Assignees
Labels
enhancement feature request An idea for a change, aimed at impoving quality of life NSubstitute An issue related to NSubstitute triage Something that's being investigated
Milestone

Comments

@zvirja
Copy link
Member

zvirja commented Apr 4, 2018

Currently it's very hard to customize which exact constructor overload to choose when substitute for the class is created. Rework the architecture to allow to customize that easy.

Suggestion: Introduce BareSubstituteRequest type to activate the mocks. We could later easily customize that via Customizations collection.

@zvirja zvirja self-assigned this May 2, 2018
@aivascu aivascu added NSubstitute An issue related to NSubstitute triage Something that's being investigated labels Dec 5, 2023
@aivascu aivascu changed the title [NSubstitute] Add infrastructure for easy constructor customization for created substitutes Easy constructor customization for NSubstitute class mocks Dec 5, 2023
@aivascu aivascu added the feature request An idea for a change, aimed at impoving quality of life label Dec 5, 2023
@aivascu aivascu added this to the future milestone Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request An idea for a change, aimed at impoving quality of life NSubstitute An issue related to NSubstitute triage Something that's being investigated
Projects
None yet
Development

No branches or pull requests

2 participants