Approvaltests

Latest version: v14.2.0

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

Scan your dependencies

Page 7 of 18

7.0.1

Breaking Change

approval_utilities is becoming its own pypi package to allow usage in production code.

Fixes

You'll have some name spacing changes.

diff
- from approvaltests.utilities.logger ...
+ from approval_utilities.utilities.logger ...

7.0.0

Breaking Change

approval_utilities is becoming its own pypi package to allow usage in production code.

Fixes

You'll have some name spacing changes.

diff
- from approvaltests.utilities.logger ...
+ from approval_utilities.utilities.logger ...

6.2.0

You can now easily create a date scrubber.

For Example:

python
verify("created at 03:14:15", options=Options().with_scrubber(DateScrubber.get_scrubber_for("00:00:00")))

will produce

txt
created at <date0>

6.1.1

log_to_string, by default, now will log 1 string per thread. Allowing multithreaded testing

6.1.0

* [verify_simple_logger](https://github.com/approvals/ApprovalTests.Python/blob/main/docs/how_to/test_logs.md#1-with)
* [verify_storyboard](https://github.com/approvals/ApprovalTests.Python/blob/main/docs/reference/storyboard.md#verify_storyboard)
* use_utc_timezone() - allow easy testing of datetimes by forcing Timezone while in test

6.0.0

* [You can log parameter values on entrance and exit of a method](https://github.com/approvals/ApprovalTests.Python/blob/main/docs/how_to/log_method_parameter_values.md)

Breaking changes
use markers text has changed to reduce clutter, this will break previous tests.

Page 7 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.