Skip to content

testing

23 posts with the tag “testing”

Test failures that explain themselves — diffs, curl and contract checks in AspNetCore.Simple.MsTest.Sdk

A bare "Expected:. Actual:<>." is where debugging starts, not where it ends. How AspNetCore.Simple.MsTest.Sdk turns a failing API test into a categorized report with the exact JSON path, the HTTP context, a ready-to-run curl and a suggested fix, and why it checks your test against the endpoint's own contract.

Your solution as a queryable model — code rules as LINQ with Solution.Parser

The team guideline says "no DateTime.Now", and code review finds it again every other week. Solution.Parser turns the whole solution into a typed model you query with LINQ, so a rule like that becomes a five-line unit test with clickable findings. How to get started, how to structure a rule suite, and how to prove a rule actually catches something.