bUnit
bUnit copied to clipboard
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass param...
This PR is created automatically by the bUnit bot. When completing this PR, it's important to use **Rebase and merge** to keep the commit history clean.
In ASP.NET Core 10 Preview 4, we have new methods available for `IJSRuntime` and `IJSObjectReference` for getting and setting attributes, and calling JS constructors. So [BunitJSRuntime](https://github.com/bUnit-dev/bUnit/blob/main/src/bunit.web/JSInterop/Implementation/BunitJSRuntime.cs) and [BunitJSObjectReference](https://github.com/bUnit-dev/bUnit/blob/main/src/bunit.web/JSInterop/Implementation/BunitJSObjectReference.cs) need to...
The target is to have a clean and maintainable public API surface. What we did so far (21th of February): * Used the following regex to identify public API: `public...
With a [recent change](http://github.com/dotnet/roslyn/issues/72133), the `InterceptsLocationAttribute` is obsolete and shouldn't be used anymore. This leads to compiler errors on newer SDK version >= 9.0.200 Therefore we have to - [...
Closes #1661 This adds support for **Tunit** templates with a small caveat. The following todos are open: - [x] Adopt `ci.yml` to test against the new template - [ ]...
With existing support for various testing frameworks, it would be great if the current offering could be extended with [TUnit](https://github.com/thomhurst/TUnit). [TUnit](https://github.com/thomhurst/TUnit) is a rising star that challenges existing test frameworks...
The CI fails with: > Couldn't find a valid ICU package installed on the system ```no-class Testhost process for source(s) '/home/runner/work/bUnit/bUnit/tests/bunit.web.tests/bin/Release/netcoreapp3.1/Bunit.Web.Tests.dll' exited with error: Process terminated. Couldn't find a valid...
[xUnit v3 is out](https://xunit.net/docs/getting-started/v3/whats-new), and while bUnit should work without issues with it, there are new things we may want to address: - xUnit now has a TestContext type. See...