diff --git a/docs/source/format.rst b/docs/source/format.rst index ccae074..e928eb2 100644 --- a/docs/source/format.rst +++ b/docs/source/format.rst @@ -67,13 +67,19 @@ reference to the state of a current test or the one just prior. These are replaced with real values during test processing. * ``$SCHEME``: The current scheme (usually ``http`` or ``https``). + Available in field ``response_headers``. * ``$NETLOC``: The host and potentially port of the request. + Available in field ``response_headers``. * ``$LOCATION``: The location header returned in the prior response. + Availble in field ``url``. * ``$RESPONSE['']``: A JSONPath query into the prior - response. + response. Available in fields ``url``, ``response_strings`` and + ``response_json_paths`` With these it ought to be possible to traverse an API without any -explicit statements about the URLs being used. +explicit statements about the URLs being used. If you need a +replacement on a field that is not currently supported please raise +an issue or provide a patch. As all of these features needed to be tested in the development of gabbi itself, `the gabbi tests`_ are a good source of examples on how diff --git a/gabbi/__init__.py b/gabbi/__init__.py index 2fda46c..b56481e 100644 --- a/gabbi/__init__.py +++ b/gabbi/__init__.py @@ -15,4 +15,4 @@ # under the License. """See gabbi.driver and gabbbi.case.""" -__version__ = '0.5.1' +__version__ = '0.6.0'