Files
deb-python-gabbi/docs/source/release.rst
Chris Dent d8fe9f801b Release 1.32.0
- Improved error reporting when using multiple files with gabbi-run
2017-02-06 13:28:42 +00:00

205 lines
4.2 KiB
ReStructuredText

Release Notes
=============
These are informal release notes for gabbi since version 1.0.0,
highlighting major features and changes. For more detail see
the `commit logs`_ on GitHub.
1.32.0
------
Better failure reporting when using :doc:`gabbi-run <runner>` with
multiple files. Test names are based on the files and a summary of
failed files is provided at the end of the report.
1.31.0
------
Effectively capture a failure in a :doc:`fixture <fixtures>` and
report the traceback. Without this some test runners swallow the
error and discovering problems when developing fixtures can be quite
challenging.
1.30.0
------
Thanks to Samuel Fekete, tests can use the ``$HISTORY`` dictionary
to refer to any prior test in the same file, not just the one
immediately prior, when doing :ref:`substitutions <state-substitution>`.
1.29.0
------
Filenames used to read data into tests using the ``<@`` syntax
may now use pathnames relative to the YAML file. See :ref:`data`.
:doc:`gabbi-run <runner>` gains a --verbose parameter to force
all tests run in a session to run with :ref:`verbose <metadata>`
set.
When using :ref:`pytest <pytest_loader>` to load tests, a new
mechanism is available which avoids warnings produced in when using
a version of pytest greater than ``3.0``.
1.28.0
------
When verbosely displaying request and response bodies that are
JSON, pretty print for improved readability.
1.27.0
------
Allow :doc:`gabbi-run <runner>` to accept multiple filenames as
command line arguments instead of reading tests from stdin.
1.26.0
------
Switch from response handlers to :doc:`handlers` to allow more
flexible processing of both response _and_ request bodies.
Add :ref:`inner fixtures <inner-fixtures>` for per test fixtures,
useful for output capturing.
1.25.0
------
Allow the ``test_loader_name`` arg to
:meth:`gabbi.driver.build_tests` to override the prefix of the
pretty printed name of generated tests.
1.24.0
------
String values in JSONPath matches may be wrapped in ``/.../``` to be
treated as regular expressions.
1.23.0
------
Better :doc:`documentation <loader>` of how to run gabbi in a
concurrent environment. Improved handling of pytest fixtures and
test counts.
1.22.0
------
Add ``url`` to :meth:`gabbi.driver.build_tests` to use instead of
``host``, ``port`` and ``prefix``.
1.21.0
------
Add ``require_ssl`` to :meth:`gabbi.driver.build_tests` to force use
of SSL.
1.20.0
------
Add ``$COOKIE`` :ref:`substitution <state-substitution>`.
1.19.1
------
Correctly support IPV6 hosts.
1.19.0
------
Add ``$LAST_URL`` :ref:`substitution <state-substitution>`.
1.17.0
------
Introduce support for loading and running tests with pytest.
1.16.0
------
Use urllib3 instead of httplib2 for driving HTTP requests.
1.13.0
------
Add sorting and filtering to :doc:`jsonpath` handling.
1.11.0
------
Add the ``response_forbidden_headers`` to :ref:`response expectations
<response-expectations>`.
1.7.0
-----
.. highlight:: yaml
Instead of::
tests:
- name: a simple get
url: /some/path
method: get
1.7.0 also makes it possible to::
tests:
- name: a simple get
GET: /some/path
Any upper case key is treated as a method.
1.4.0 and 1.5.0
---------------
Enhanced flexibility and colorization when setting tests to be
:ref:`verbose <metadata>`.
1.3.0
-----
Adds the ``query_parameters`` key to :ref:`request parameters
<request-parameters>`.
1.2.0
-----
The start of improvements and extensions to :doc:`jsonpath`
handling. In this case the addition of the ``len`` function.
1.1.0
-----
Vastly improved output and behavior in :doc:`gabbi-run <runner>`.
1.0.0
-----
Version 1 was the first release with a commitment to a stable
:doc:`format`. Since then new fields have been added but have not
been taken away.
Contributors
============
The following people have contributed code to gabbi. Thanks to them.
Thanks also to all the people who have made gabbi better by
reporting issues_ and their successes and failures with using
gabbi.
* Chris Dent
* FND
* Mehdi Abaakouk
* Jason Myers
* Kim Raymoure
* Samuel Fekete
* Michael McCune
* Imran Hayder
* Julien Danjou
* Danek Duvall
* Marc Abramowitz
.. _commit logs: https://github.com/cdent/gabbi/commits
.. _issues: https://github.com/cdent/gabbi/issues