Skip to content

ProtoTest 1.1.5

Choose a tag to compare

@github-actions github-actions released this 03 Oct 21:35
· 35 commits to main since this release

[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.AfterInfrastructureAsync runs once every infrastructure piece started and before the first test. Its ProtoRunSetupContext now carries the run's Services and ApplicationClientAsync(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 no BaseUrl to 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_coverage and get_suite_map print the same path, and a coverage suggestion carries it as Path. Verification