You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the expect API matches based on strict equality. I propose to replace expect: with assert: and provide functions such as !eq, !gt, !lt, !regex etc to each field as such:
tests:
- url: stringassert:
status: !eq 200 # or !gt 200body:
text: !regex "foo" # to find any match, or !regex "^foo" to starts with match
The text was updated successfully, but these errors were encountered:
Currently the
expect
API matches based on strict equality. I propose to replaceexpect:
withassert:
and provide functions such as!eq
,!gt
,!lt
,!regex
etc to each field as such:The text was updated successfully, but these errors were encountered: