basdijkstra / rest-assured-net

C# DSL for writing readable tests for HTTP-based APIs
Apache License 2.0
134 stars 16 forks source link

Add support for capturing request / response details and verifications performed #115

Open basdijkstra opened 7 months ago

basdijkstra commented 7 months ago

For reporting / logging purposes, it would be great if RestAssured .Net kept track of details about the requests it made, the responses it received and the verifications that were performed.

Ideally what will be captured can be configured globally / statically to keep the impact on writing actual tests low.

basdijkstra commented 5 months ago

Idea: Create an IEnumerable of objects storing request, response and verifications per test, allow users to inject that into a test through an overload to Given() or through a RequestSpecification so user can control the lifecycle of the object themselves and provide examples of usage.