Approvaltests

Latest version: v12.0.0

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

Scan your dependencies

Page 11 of 17

4.1.0

verify_best_covering_pairs `
works the same as
`verify_all_combinations`
but with a much small set in some cases:
[Table of reduction](https://github.com/approvals/ApprovalTests.Java/blob/7fa4d7b694c5e59d8949739b82b348ff3993f9d6/approvaltests/docs/Features.md#combinationapprovalsverifybestcoveringpairs)

This release add the [allpairspy](https://pypi.org/project/allpairspy/) dependency

4.0.0

Breaking Features
* verify_file() will now scrub it if a scrubber is attached.
**Note:** If you scrub an existing file, it will be written as UTF8, instead of it's existing encoding
* Removed Deprecated method verify_file_with_encoding(),
**NOTE:** if you call verify_file() instead, your code will work as before

3.7.0

You can now inject a custom comparator to check if two files are equivalent.
Minor bug fix: delete_approve file will not explode if the file does not exist.
Minor bug fix: options are passed down the stack where they were not previously being used.

3.6.0

By default if you haven't setup any DiffTools, a friendly message pointing you to documentation about reports will be printed to you console.

Welcome to ApprovalTests!
No DiffReporters have been detected on this system.
To learn more, visit [Introduction to Reporters](https://github.com/approvals/ApprovalTests.Python/blob/main/docs/tutorial/intro-to-reporters.md)

3.5.0

Added scrubbers.combine_scrubbers
fix minor bugs in scrubber templates
fix clipboard command to work with powershell

3.4.0

Added a reporter that automatically approves to allow for easy approval of many files

Added delete approve file

Page 11 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.