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

Add experimental support for Mobile Blazor Bindings #89

Closed
egil opened this issue Apr 3, 2020 · 4 comments
Closed

Add experimental support for Mobile Blazor Bindings #89

egil opened this issue Apr 3, 2020 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed input needed When an issue requires input or suggestions investigate This issue require further investigation before closing.

Comments

@egil
Copy link
Member

egil commented Apr 3, 2020

With #5 / #75 / beta-7, it should be possible to reuse the core parts of the library to add support for Mobile Blazor Bindings, including support for "razor based tests". The initial aim should be to render MBB-based components and do basics assertions against the rendered components.

Related:

Future investigations could include looking at how Xamarin apps are tested natively. Are their existing testing libs that can be reused, especially around the assertion parts.

@egil egil added enhancement New feature or request help wanted Extra attention is needed input needed When an issue requires input or suggestions labels Apr 3, 2020
@egil egil added the backlog Enhancements which are relevant but not a priority at the moment. label May 6, 2020
@egil egil added investigate This issue require further investigation before closing. and removed backlog Enhancements which are relevant but not a priority at the moment. labels Aug 15, 2020
@egil
Copy link
Member Author

egil commented Aug 15, 2020

Hi @Eilon, at some point I would like to discuss this with you. My initial investigations showed that this could work well within the bUnit testing infrastructure in bunit.core, but it does require some changes (making things protected/virtual IIRC) to NativeComponentRenderer and/or MobileBlazorBindingsRenderer for me to hook into renderer and give bUnit the control it needs for testing.

@Eilon
Copy link

Eilon commented Aug 17, 2020

@egil that could be quite reasonable. Can you send a PR to Mobile Blazor Bindings to propose those changes? I tried to find the right balance for the design of the components, but the testing scenario isn't one that I have explored much yet, so I'm not surprised if there are a few things missing that would help this scenario.

@egil
Copy link
Member Author

egil commented Aug 17, 2020

@Eilon, great. I will get back to this later then other more pressing issues are out of the way.

@Eilon
Copy link

Eilon commented Aug 17, 2020

Sounds good, I look forward to seeing what changes we should make!

@egil egil closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed input needed When an issue requires input or suggestions investigate This issue require further investigation before closing.
Projects
None yet
Development

No branches or pull requests

2 participants