Releases: smarie/python-pytest-harvest
1.8.0 - pytest-xdist compliance
-
For each of the
[module/session]_results_[dct/df]
fixtures, an equivalentget_<fixture_name>(session, ...)
helper function is available. This allows users to access the same level of functionality than the fixture, in places where fixtures are not available (typically in a pytest hook such as thepytest_sessionfinish
session finish hook). In addition the defaultFIXTURE_STORE
is now a package variable, available directly or through the session-scopedfixture_store
fixture. Fixed #33 and #34. -
Added an example in the documentation on how to use with pytest-xdist. Fixes #32
See documentation page for details.
1.7.4 - `pyproject.toml`
Added a pyproject.toml
file.
See documentation page for details.
1.7.3 - python 2 bugfix
Fixed issue happening with python 2 when unicode_literals
are used in the parameters receiving string types. Fixed #28
See documentation page for details.
1.7.2 - added `__version__` attribute
Added __version__
attribute at package level.
See documentation page for details.
1.7.1 - added `six` dependency
It was missing from setup.py
.
See documentation page for details.
1.7.0 - `@saved_fixture` supports all scopes
-
Session-scoped and Module-scoped fixtures are now supported by
@saved_fixture
. Fixes #17. -
Documentation: new API reference page.
See documentation page for details.
1.6.1 - Minor improvements
Renamed argument in create_results_bag_fixture
to align with the name used in saved_fixture
(store
instead of storage
)
Now using decopatch
for decorator creation. make_saved_fixture
can thus be removed, and saved_fixture
simplified.
Now using latest makefun>=1.5
so that saved_fixture
create proper fixture wrappers, using @makefun.wraps
.
See documentation page for details.
1.6.0 - improved `@saved_fixture` + minor dependency change
Users can now use @saved_fixture
to save not only the fixture, but also some views created from it. This is interesting if each fixture is huge but users just want to save small aspects of it (name, size, etc.). Fixed #21.
Dependency to decorator
has been dropped and replaced with makefun
.
See documentation page for details.
1.5.0 - Bug fixes concerning fixtures
The fixture_store
fixture, provided by the plugin, does not have autouse=True
anymore. Fixed #20.
get_all_pytest_fixture_names
now returns fixtures that are indirectly parametrized, as well as fixtures that are not parametrized. Fixed #19.
See documentation page for details.
1.4.3 - Better exceptions for `@saved_fixture`
Now raising a better exception if @saved_fixture
is used on session- or module-scope fixtures. Fixes #18
See documentation page for details.