![]() |
VOOZH | about |
dotnet add package TestPrune.Falco --version 2.0.2
NuGet\Install-Package TestPrune.Falco -Version 2.0.2
<PackageReference Include="TestPrune.Falco" Version="2.0.2" />
<PackageVersion Include="TestPrune.Falco" Version="2.0.2" />Directory.Packages.props
<PackageReference Include="TestPrune.Falco" />Project file
paket add TestPrune.Falco --version 2.0.2
#r "nuget: TestPrune.Falco, 2.0.2"
#:package TestPrune.Falco@2.0.2
#addin nuget:?package=TestPrune.Falco&version=2.0.2Install as a Cake Addin
#tool nuget:?package=TestPrune.Falco&version=2.0.2Install as a Cake Tool
When you change a route handler, only re-run the integration tests that hit that route.
This is an extension for TestPrune
that connects Falco URL routes to integration tests. If you change the
handler for /api/users/{id}, it finds the tests that make requests to
that URL and runs just those.
dotnet add package TestPrune.Falco
Tell TestPrune which source files handle which URLs:
db.RebuildRouteHandlers [
{ UrlPattern = "/api/users/{id}"
HttpMethod = "GET"
HandlerSourceFile = "src/Web/Handlers/Users.fs" }
{ UrlPattern = "/api/users/{id}"
HttpMethod = "PUT"
HandlerSourceFile = "src/Web/Handlers/Users.fs" }
]
let extension =
FalcoRouteExtension(
integrationTestProject = "MyApp.IntegrationTests",
integrationTestDir = "tests/MyApp.IntegrationTests"
)
let affected =
(extension :> ITestPruneExtension)
.FindAffectedTests db changedFiles repoRoot
// -> [{ TestProject = "MyApp.IntegrationTests"; TestClass = "UsersTests" }]
.fs files for those URLs
(/api/users/{id} matches /api/users/123 in your test code)| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.2 | 100 | 6/12/2026 |
| 2.0.1 | 120 | 4/20/2026 |
| 2.0.0 | 96 | 4/20/2026 |
| 1.0.2 | 106 | 4/11/2026 |
| 1.0.1 | 121 | 4/7/2026 |
| 0.1.0-beta.1 | 97 | 4/2/2026 |
| 0.1.0-alpha.9 | 67 | 4/2/2026 |
| 0.1.0-alpha.8 | 64 | 4/1/2026 |
| 0.1.0-alpha.7 | 65 | 3/31/2026 |
| 0.1.0-alpha.6 | 56 | 3/30/2026 |
| 0.1.0-alpha.5 | 66 | 3/27/2026 |
| 0.1.0-alpha.4 | 68 | 3/27/2026 |
| 0.1.0-alpha.3 | 58 | 3/26/2026 |
| 0.1.0-alpha.2 | 52 | 3/23/2026 |