TestPrune.Falco 0.1.0-beta.1

This is a prerelease version of TestPrune.Falco.
dotnet add package TestPrune.Falco --version 0.1.0-beta.1
                    
NuGet\Install-Package TestPrune.Falco -Version 0.1.0-beta.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TestPrune.Falco" Version="0.1.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TestPrune.Falco" Version="0.1.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="TestPrune.Falco" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TestPrune.Falco --version 0.1.0-beta.1
                    
#r "nuget: TestPrune.Falco, 0.1.0-beta.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TestPrune.Falco@0.1.0-beta.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TestPrune.Falco&version=0.1.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TestPrune.Falco&version=0.1.0-beta.1&prerelease
                    
Install as a Cake Tool

TestPrune.Falco

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.

Installation

dotnet add package TestPrune.Falco

How to use it

1. Store your route mappings during indexing

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" }
]

2. Create the extension and query affected tests

let extension =
    FalcoRouteExtension(
        integrationTestProject = "MyApp.IntegrationTests",
        integrationTestDir = "tests/MyApp.IntegrationTests"
    )

let affected =
    (extension :> ITestPruneExtension)
        .FindAffectedTests db changedFiles repoRoot
// -> [{ TestProject = "MyApp.IntegrationTests"; TestClass = "UsersTests" }]

How it works

  1. Checks if any changed file is a known handler (from the route table)
  2. Looks up which URL patterns that handler serves
  3. Scans your integration test .fs files for those URLs (/api/users/{id} matches /api/users/123 in your test code)
  4. Returns the test classes from files that reference affected routes

Documentation

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.0-beta.1 42 4/2/2026
0.1.0-alpha.9 35 4/2/2026
0.1.0-alpha.8 33 4/1/2026
0.1.0-alpha.7 34 3/31/2026
0.1.0-alpha.6 34 3/30/2026
0.1.0-alpha.5 42 3/27/2026
0.1.0-alpha.4 44 3/27/2026
0.1.0-alpha.3 33 3/26/2026
0.1.0-alpha.2 32 3/23/2026