Approvaltests

Latest version: v14.3.0

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

Scan your dependencies

Page 8 of 18

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.

5.13.0

Mechanisms for capturing differences that occur on CI and allowing those differences to coexist.

5.12.0

* .variable() indents lists correctly
* .variable(list, show_types=True) includes types in output
* .use_markers() handle exceptions being thrown in method
* run_all_combinations()
* verify_logging_for_all_combinations()

5.11.0

* SimpleLogger._logger renamed to private
* SimpleLogger.register_logger
* variable has optional parameter: show_types
Example:
python
SimpleLogger.variable("dalmatians", 101, show_types = True)

Produces:
txt
variable: dalmatians = 101 <int>

5.10.0

- Added convenience functions for warnings and variables
- Warnings print the stack trace
- Variables will handle lists and print out each element in the list

5.9.0

Added Simple Logger timestamps and toggles and other convenience methods

Page 8 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.