Skip to content
Discussion options

You must be logged in to vote

That really depends on your architecture. If your Blazor Page is absent of any logic and only consists out of (3rd party) components that represent some state without business rules - probably there is no big need for unit testing (and therefore bUnit).

We offer utilities to work with 3rd party components (like shallow rendering, stubs, fakes, and so on).

If your component retrieves the movies inside its lifecycle and does some validation or other kind of logic - then bUnit might be a very good candidate for that. The same applies to form submit example.

And yes:

I assume you dont test the component library as that is already tested by them.

Replies: 1 comment

Comment options

linkdotnet
Nov 6, 2025
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Albiniivari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants