Unit Testing Frameworks for the Blazor web assembly project

RKG 1 Reputation point
2022-01-13T04:59:08.953+00:00

Can you please let me know the available Unit Testing Frameworks for the Blazor web assembly projects and how to implement it ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,424 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,406 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
324 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,320 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,127 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
    2022-01-14T06:52:42.827+00:00

    Hi @RKG ,

    Now, there's no official Microsoft testing framework for Blazor, but the community-driven project bUnit provides a convenient way to unit test Blazor components. For example. bunit.

    Notice: bUnit is a third-party testing library and isn't supported or maintained by Microsoft.

    Mode details, you could refer to this article.

    0 comments No comments