release 1.33.0

* count and poll use substitions
* build_tests param keyword
* fixes to prefix handling
* fixes to reading utf8 encoding on disk data
This commit is contained in:
Chris Dent 2017-03-21 09:26:09 +00:00
parent 37ee5babbd
commit b4e738b808
4 changed files with 11 additions and 2 deletions

View File

@ -277,6 +277,7 @@ All of these variables may be used in all of the following fields:
* ``response_json_paths`` (on the value side of the key value pair) * ``response_json_paths`` (on the value side of the key value pair)
* ``response_headers`` (on the value side of the key value pair) * ``response_headers`` (on the value side of the key value pair)
* ``response_forbidden_headers`` * ``response_forbidden_headers``
* ``count`` and ``delay`` fields of ``poll``
With these variables it ought to be possible to traverse an API without any With these variables it ought to be possible to traverse an API without any
explicit statements about the URLs being used. If you need a explicit statements about the URLs being used. If you need a

View File

@ -5,6 +5,14 @@ These are informal release notes for gabbi since version 1.0.0,
highlighting major features and changes. For more detail see highlighting major features and changes. For more detail see
the `commit logs`_ on GitHub. the `commit logs`_ on GitHub.
1.33.0
------
``count`` and ``delay`` test keys allow :ref:`substitutions
<state-substitution>`. :meth:`gabbi.driver.build_tests` accepts
a ``verbose`` parameter to set test :ref:`verbosity <metadata>` for
an entire session.
1.32.0 1.32.0
------ ------

View File

@ -12,4 +12,4 @@
# under the License. # under the License.
"""See gabbi.driver and gabbbi.case.""" """See gabbi.driver and gabbbi.case."""
__version__ = '1.32.0' __version__ = '1.33.0'

View File

@ -64,7 +64,7 @@ def build_tests(path, loader, host=None, port=8001, intercept=None,
:param require_ssl: If ``True``, make all tests default to using SSL. :param require_ssl: If ``True``, make all tests default to using SSL.
:param inner_fixtures: A list of ``Fixtures`` to use with each :param inner_fixtures: A list of ``Fixtures`` to use with each
individual test request. individual test request.
:param verbose: If ``True`` or ``'all'``, make fixtures verbose by default :param verbose: If ``True`` or ``'all'``, make tests verbose by default
``'headers'`` and ``'body'`` are also accepted. ``'headers'`` and ``'body'`` are also accepted.
:type inner_fixtures: List of fixtures.Fixture classes. :type inner_fixtures: List of fixtures.Fixture classes.
:rtype: TestSuite containing multiple TestSuites (one for each YAML file). :rtype: TestSuite containing multiple TestSuites (one for each YAML file).