Hammett

Latest version: v0.9.4

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.4

~~~~~~~~~~~~~~~~~~

* Python 3.11 compatibility

* Hooks for using Hammett as an API (for mutmut3)

* Explicit fixture names didn't work

* Support `skipif`

* `warns()` without arguments fixed

* `conftest.py` handling massively improved

0.9.3

~~~~~~~~~~~~~~~~~~

* Some fixes for pytest compatibility

* The bare minimum to work with pytest-snapshot (but not be able to collect snapshots)

* Random fixes. Super basic support for pytest_sessionstart

* Support for specifying config in setup.cfg file. This is useful for e.g django: config=nomigrations

* Experimental multiprocessing tests

* A little fix for not breaking when test plugins think we have xdist

* Fixes for running in no-cache mode, and some improvements for making mutation testing faster down the line

0.9.2

~~~~~~~~~~~~~~~~~~

* Fixed some really bad bugs relating to fixtures

0.9.1

~~~~~~~~~~~~~~~~~~

* Fixed plugins dynamically adding implicit fixtures. This fixes pytest-django

* Implemented support for pytest.warns/hammett.warns

* Make cache default off, since it's still rather flaky

0.9.0

~~~~~~~~~~~~~~~~~~

* Added support for `caplog`

* Don't try to collect hidden files

0.8.0

~~~~~~~~~~~~~~~~~~

* Added support for the `capsys` feature from pytest

* Fixed verbose output

* Improved test feedback

* Support for class based tests (like unittest)

* Also search for *_test.py, since it seems pytest tries these

* Compatibility with a funny little pytest feature where you can pass a list and not a list of a list to parametrize if you have just one argument

* Pixed python 3.6 support

* Sort local variables in error output

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.