question

rclgoriparthi avatar image
0 Votes"
rclgoriparthi asked kashyapa commented

How to use bUnit Testing Frameworks for the Blazor web assembly project

Can you please let me know How to use bUnit Testing Frameworks for the Blazor web assembly project?

dotnet-csharpdotnet-aspnet-core-blazor
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What have you tried up to this point? bUnit is a 3rd party unit test framework and their site has documentation and sample code. Have tried any of the getting started examples?

Getting started with bUnit

bUnit has a support forum which is a better location to get help with bUnit.

https://github.com/bUnit-dev/bUnit/discussions


1 Vote 1 ·

As @AgaveJoe has suggested, do go through the getting started guide by bUnit.

In a nutshell - you write expectations using bUnit. bUnit provides a framework to host your components and will generate a markup. You assert whether the elements you are looking for in the markup is generated as expected or not.

0 Votes 0 ·

0 Answers