Skip to content

v1.1.1

Compare
Choose a tag to compare
@oatsoda oatsoda released this 09 Aug 16:15
· 39 commits to main since this release
  • Add facility to partially match the request body JSON using .ThatHasBodyContaining<T>() and passing in a delegate to validate.
    • The request body will be deserialised to T using the RequestBodySerializerOptions before being passed to your delegate to decide whether it matches.
    • WARNING: Any reference types you use within the rule delegate will be evaluated at the point of request (as opposed to at TeePee Build() time) so you must be careful not to use the same ref types to seed your test data and this matching rule.