From 4479df9620b62e2c81e95f502a6c8f1494177309 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Sun, 3 Mar 2024 10:42:59 +0000 Subject: [PATCH] Add docs for regex on response strings --- docs/source/format.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/format.rst b/docs/source/format.rst index 1217255..847c93c 100644 --- a/docs/source/format.rst +++ b/docs/source/format.rst @@ -181,6 +181,11 @@ Response Expectations ``response_strings`` A list of string fragments expected to be present in the response body. + If the value is wrapped in ``/.../`` + the response body will be searched + for the value as a regular + expression. + ``response_json_paths`` A dictionary of JSONPath rules paired with expected matches. Using this rule requires that the content being