Tags

#testing
testing

17stories
2 d agolatest
Metalama 2027.0
Redirect calls at build time
PMMetalama / PostSharp Blog Gaël Fraiteur 4 d ago

Metalama 2027.0 adds interceptors to redirect method calls at build time

Metalama 2027.0 introduces call-site interceptors that rewrite selected method calls at build time, so a method from a NuGet package or the .NET libraries can be wrapped without touching its source. The post walks through a retry example built from a T# template, a hand-written audit redirect, and the scoping rules. The feature is in preview from 2027.0.4-preview.

Bobcat 1.0
Readable C# specs

Writing executable specifications with Bobcat in C#

Critter Stack's new Bobcat 1.0 turns ordinary C# tests into readable executable specifications. The author starts from an existing xUnit test, adds step helpers, then covers decision tables and set verification for collections. It is a practical walkthrough for .NET teams who want reviewable tests without a Gherkin layer.

Wolverine
Handlers as pure logic
JXJasperFx (Critter Stack) Blog Jeremy Miller 5 d ago

Wolverine Best Practices Revisited: A-Frame and Handler Design

JasperFx rewrote the Wolverine best practices guide from scratch, replacing the 2023 version. The new guide centers on the A-Frame Architecture and gives concrete advice on splitting handlers, error handling, and at-least-once messaging rules. It is a practical reference for .NET teams building messaging systems with Wolverine.

Bobcat 1.0
Specs from your tests

Bobcat 1.0 is out: readable C# specifications projected from your tests

JasperFx has released Bobcat 1.0, an MIT-licensed tool that projects human-readable specifications from the test frameworks you already use, including xUnit.net, TUnit, MSTest and NUnit. No Gherkin or wiki files are needed, only C# or F#. It also brings Supervisor for more reliable integration suites and telemetry output aimed at AI agents debugging failing tests.

Cosmos DB Shell
Inspect data from terminal
CDAzure Cosmos DB Blog Jay Gordon 6 d ago

Inspecting Local Data with Azure Cosmos DB Shell

Azure Cosmos DB Shell lets you browse databases, containers and items from the terminal. This walkthrough pairs the shell with the local Azure Cosmos DB Linux Emulator and the FleetCharge sample data to show connecting, navigating, querying and point reads. It is a practical way to check what your application actually stored during development, without opening the portal or adding diagnostic code.

CritterWatch 1.1
Monitor Critter Stack
JXJasperFx (Critter Stack) Blog Jeremy Miller 6 d ago

CritterWatch 1.1, Bobcat 1.0 and AI Skills 1.17 ship; Stoat preview arrives

JasperFx shipped a coordinated Critter Stack release wave: CritterWatch 1.1, Bobcat 1.0, AI Skills 1.17 and a Stoat 0.5.0 preview. CritterWatch's MCP server now exposes 83 tools, and Bobcat 1.0 turns existing test methods into executable specifications. Worth a look if you run Wolverine or Marten in production or write integration tests on the .NET stack.

.NET regresyon
Row-level diffs
DVDEV Community: #csharp Youssef Bouha Oct 26

Comparing two million-object lists for regression testing with Xero.DataComparer

Xero.DataComparer is a small, dependency-free .NET library for non-regression testing of pricing and risk engines. Instead of a boolean verdict, it reports which rows differ, on which properties, and which rows are missing on either side. The author says it compares two lists of one million objects in about 0.7 seconds, and explains the design choices behind that speed.

Mockly
Fluent HTTP mocks
DDDennis Doomen Dennis Doomen Oct 26

Mockly: fluent HTTP mocking for .NET tests that call HttpClient

Dennis Doomen released Mockly, an open-source library that makes testing code which calls HttpClient much simpler. It replaces hand-written HttpMessageHandler subclasses and fragile Moq setups on the protected SendAsync method. Its main strength is that failure paths such as retries, timeouts, 401 refreshes and 429 throttling can be simulated in a line or two, and unmatched requests produce a clear explanation.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message