Dev.to
6/7/2026

I got tired of writing the same API test 200 times, so I built a library
Short summary
ConfIT is a .NET library that eliminates boilerplate in API test code by letting you write tests in declarative YAML instead of C#. It handles fixture setup, variable passing between tests, and semantic matchers for common assertions like UUID validation and date checking. The same test files work for both component and integration testing without code duplication.
- •Reduces test boilerplate with declarative YAML syntax instead of repetitive C# test classes
- •Supports both component (mocked) and integration (real) testing without maintaining duplicate test suites
- •Includes semantic matchers (isUuid, isIsoDate, isEmail) and automatic variable passing between sequential tests
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



