Aspnetcore: TDD with Blazor

Created on 17 Apr 2018  路  2Comments  路  Source: dotnet/aspnetcore

I think all code should be testable in a seamless way using popular test frameworks such as xUnit or NUnit.
Is there any provision for that in Blazor? Can I develop my web app with Blazor with TDD easily, seamlessly without heavy framework such as Selenium?

area-blazor

Most helpful comment

aspnet/AspNetCore#5458 covers this. The plan is to provide a unit test helper library that lets you run your components inside unit tests (e.g., with xUnit, etc.), triggering events and making assertions about the rendered output.

All 2 comments

aspnet/AspNetCore#5458 covers this. The plan is to provide a unit test helper library that lets you run your components inside unit tests (e.g., with xUnit, etc.), triggering events and making assertions about the rendered output.

Thanks, @SteveSandersonMS,
This is awesome. This is the first time I'm excited about an UI framework in quite some time. Really looking forward for this Blazor!

Was this page helpful?
0 / 5 - 0 ratings