Tags

#tooling
tooling

75stories
1 d agolatest
.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.

Copilot
Set suggestion eagerness
VSVisual Studio Code Blog Ben Steenhoek, Ulugbek Abdullaev Oct 26

Tune GitHub Copilot Inline Suggestions with Configurable Eagerness

GitHub Copilot in VS Code now offers a configurable eagerness setting that controls how often inline suggestions appear and how large they are. Low, medium, and high modes all run on one model, selected with a control tag. The setting is available to paid Copilot subscribers, so you can match the assistance level to your task.

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.

xUnit · Claude Code
Do generated tests prove it?

How to Review Claude-Generated .NET Tests for Real Regression Coverage

Claude-generated .NET tests can look complete and still miss the regression they are meant to catch. The author walks through tracing assertions back to their inputs, checking mock boundaries, and verifying that a test fails for the intended reason. It is a practical review checklist for anyone accepting agent-written tests into a C# codebase.

EF Core 11
One config file for commands
DVDEV Community: #csharp Mikhail Nefedov Oct 24

EF Core 11 adds .config/dotnet-ef.json for dotnet ef defaults

EF Core 11 lets the dotnet ef command-line tool read default options from a .config/dotnet-ef.json file. When your DbContext lives outside the startup project, you no longer need to repeat --project and --startup-project on every migration or database command. The tool finds the nearest config by walking up the folder tree, and explicit command-line flags still take precedence.

Avalonia UI
Breach limited to CMS
AVAvalonia UI Blog Mike James Oct 23

Avalonia security incident: CMS breach, packages and customer data unaffected

Avalonia reported that unauthorised access during the 22-23 October 2026 attack was limited to its marketing website CMS. The entry point was an administrator token accidentally embedded in browser-delivered JavaScript. All 39 attempts to publish to its NuGet feeds were rejected, and customers need not reset passwords or replace licence keys.

Cosmos DB Emulator
Database tests in CI
CDAzure Cosmos DB Blog Jay Gordon Oct 23

Testing Cosmos DB writes locally and in GitHub Actions with the emulator

The Azure Cosmos DB blog shows how to test a database-backed feature against the Azure Cosmos DB Emulator running in Docker, then run the same tests in GitHub Actions. The example is a Python demo app, but the pattern applies to any .NET service that talks to Cosmos DB. Each pull request update runs against a fresh emulator, so you can check that a write reached storage and changed the answer, not just that the HTTP call returned 200.

PostSharp 2027.0
Typed aspect advices
PMMetalama / PostSharp Blog Gaël Fraiteur Oct 23

PostSharp 2027.0 advice parameter binding removes boxing and allocations from aspects

PostSharp 2027.0 makes advice parameter binding public: aspect advices receive typed parameters instead of a MethodExecutionArgs object. That removes per-call heap allocations, boxing and casts on hot paths. Bindings are checked at build time, so mismatches fail the build rather than production.

Codex 0.164.0
Saved prompts, one-line settings
CXCodex releases github-actions[bot] Oct 23

Codex 0.164.0 adds /presets, inline /model and MCP sign-in

Codex CLI 0.164.0 lets you save reusable prompts and slash commands in ten numbered /presets slots. The /model and /permissions commands now accept inline arguments to set the model, reasoning effort, speed or permission profile in one go. Enterprise MCP connections gained new sign-in options, including OAuth clients that need secrets.

Feedback

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

Type of message