Repository navigation
ProtoTest 1.1.5
[1.1.5] - 2026-10-03
ProtoTest 1.1.5 reads an API description or a GraphQL schema from the application it tests, in process too, and keeps nested coverage units apart when it compares two runs.
Features
Core
IProtoRunHook.AfterInfrastructureAsyncruns once every infrastructure piece started and before the first test. ItsProtoRunSetupContextnow carries the run'sServicesandApplicationClientAsync(name): a client for an application at its configured or published address, or on its in-process server, released when the phase ends. A collector that is a run hook takes part. Hooks
OpenAPI
- a specification source that is a path the application serves (
/openapi/v1.json), with noBaseUrlto resolve it against, loads from the application before the first test, so an in-process application documents its own coverage without a committed copy. OpenAPI
GraphQL
WithSchemaCoverage("/graphql?sdl")loads the schema the application serves before the first test, in process too. Schema coverage
ASP.NET Core
- the in-process server serves the run before its first test: a per-run server starts then and the tests reuse it, a per-test lifetime starts a server only for that read. Hooks
Fixes
Agent workflows
- run verification names a nested coverage unit by its path under its parents (
GET /orders › 200 › $.id), so a response or a property that regressed under one endpoint is no longer hidden by the same name under another. The pull request comment,get_coverageandget_suite_mapprint the same path, and a coverage suggestion carries it asPath. Verification