Fila.Testing
0.0.1-alpha
dotnet add package Fila.Testing --version 0.0.1-alpha
NuGet\Install-Package Fila.Testing -Version 0.0.1-alpha
<PackageReference Include="Fila.Testing" Version="0.0.1-alpha" />
<PackageVersion Include="Fila.Testing" Version="0.0.1-alpha" />
<PackageReference Include="Fila.Testing" />
paket add Fila.Testing --version 0.0.1-alpha
#r "nuget: Fila.Testing, 0.0.1-alpha"
#:package Fila.Testing@0.0.1-alpha
#addin nuget:?package=Fila.Testing&version=0.0.1-alpha&prerelease
#tool nuget:?package=Fila.Testing&version=0.0.1-alpha&prerelease
Fila.Testing
Assertion helpers for testing a Fila panel.
Fila answers actions with server-rendered HTML plus an HX-Trigger header, so asserting that an
action notified the user or closed its modal otherwise means hand-parsing that header's JSON in
every test. These do it for you.
Deliberately tied to no test framework: they throw FilaAssertionException, and an unhandled
exception fails a test under xUnit, NUnit, MSTest or anything else.
Install
dotnet add package Fila.Testing --prerelease
Fila is at 0.0.1-alpha, so --prerelease is required until a stable version ships.
Assertions
var response = await client.PostAsync("/admin/orders/1/mark-shipped", null);
response.AssertNotificationTriggered(title: "Marked as shipped", color: "success");
response.AssertModalClosed();
Both are extension methods on HttpResponseMessage, so they drop straight into a
WebApplicationFactory test.
Part of Fila, an admin-panel framework for
ASP.NET Core in the shape of Laravel Filament: Razor views instead of
Blade, htmx instead of Livewire, the same fi-* class names and design tokens.
Licensed under the GNU GPL v3 — see the LICENSE file in this package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-alpha | 68 | 9/8/2026 |