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

Create mocking abstraction for JSInterop #766

Open
egil opened this issue Jun 20, 2022 · 0 comments
Open

Create mocking abstraction for JSInterop #766

egil opened this issue Jun 20, 2022 · 0 comments
Labels
investigate This issue require further investigation before closing. mocking needs design More design is needed before this issue should result in a feature being implemented.
Milestone

Comments

@egil
Copy link
Member

egil commented Jun 20, 2022

Lets investigate creating a "mocking" abstraction for JSInterop, such that 3rd party mocking libraries can be used instead of having a custom mocking library built into bUnit for JSInterop.

The idea is to create an set of abstractions (interfaces) that e.g. a bunit.jsinterop.mock.moq can implement, and utilize Moq under the hood.

The reason for having an abstraction is because bUnit itself needs to be able to setup/configure JSInterop for certain first party components from Blazor.

@egil egil added investigate This issue require further investigation before closing. needs design More design is needed before this issue should result in a feature being implemented. mocking labels Jun 20, 2022
@egil egil added this to the 2.0.0 milestone Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate This issue require further investigation before closing. mocking needs design More design is needed before this issue should result in a feature being implemented.
Projects
None yet
Development

No branches or pull requests

1 participant