Skip to content

Response spec improvements#249

Merged
Blacksmoke16 merged 12 commits intomasterfrom
response-spec-improvements
Dec 30, 2022
Merged

Response spec improvements#249
Blacksmoke16 merged 12 commits intomasterfrom
response-spec-improvements

Conversation

@Blacksmoke16
Copy link
Copy Markdown
Member

@Blacksmoke16 Blacksmoke16 commented Dec 28, 2022

  • Add new built in debug : Bool parameter that can be used to know when the application was built w/o the --release flag useful for including extra metadata useful only for debugging, while still keeping things easy to test.
    • Add debug headers to the response when an uncaught exception causes the request to fail
  • Introduce various helper assertion methods for asserting things about the response
    • Exposes the underlying exception if applicable
  • (breaking) ATH::Spec::AbstractBrowser is now a class
    • Abstract browsers now expose the related ATH::Request and HTTP::Server::Response

@Blacksmoke16 Blacksmoke16 added component:framework kind:enhancement New functionality to an existing feature labels Dec 28, 2022
Is based on `--release` flag
Only add `x-debug-exception-*` headers if in debug mode
Fix typo
@Blacksmoke16 Blacksmoke16 added breaking kind:feature Brand new functionality and removed kind:enhancement New functionality to an existing feature labels Dec 30, 2022
@Blacksmoke16 Blacksmoke16 merged commit 52f122e into master Dec 30, 2022
@Blacksmoke16 Blacksmoke16 deleted the response-spec-improvements branch December 30, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant