2022-07-22 03:00:24 by Amitai Schleier | Files touched by this commit (4) |
Log message:
Update to 5.3.1. From the changelog:
Allow minimal imports by lazy loading dependencies. The following
dependencies are only needed if used:
- BeautifulSoup4 in verify_html
- allpairspy in pairwise approvals
- pyperclip in clipboard reporter
pkgsrc changes:
- Add an 'x11' option, off by default, to control the pyperclip
dependency.
|
2022-06-29 21:12:18 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Update to 5.3.0. From the changelog:
- Added markdown tables
|
2022-05-30 22:08:56 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Update to 5.2.0. From the changelog:
- Better support for multiple approvals per test
- Added `verify_exception`
- Exception utilities
- Options supports `with_namer`
- You can now create Verifiable objects, which know how to verify themselves
- Also added remove_indentation_from.
- Note: this breaks backwards compatibility with 5.1.0 by moving
`multiline_string_utils` into a new namespace (`approvals/utilities`)
|
2022-05-09 16:48:08 by Amitai Schleier | Files touched by this commit (2) |
Log message:
Update to 5.0.2. From the changelog:
- Better init.py for backwards compatibility
- PythonNativeReporter + PythonNative will resolve from ReporterFactory
|
2022-04-25 17:11:53 by Amitai Schleier | Files touched by this commit (2) |
Log message:
Update to 5.0.1. From the changelog:
- Fixed a few pylint complaints
|
2022-04-07 19:29:26 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Update to 5.0.0. From the changelog:
These changes are only breaking if you extend the Namer classes.
# Namer/NamerBase
Namer is now a pure interface and the abstract parts have been moved to
NamerBase. Fix: If you are extending approvaltests.core.Namer you will
probably want to extend approvaltests.namer.NamerBase.
# StackFrameNamer renames
- Directory -> directory
- MethodName -> method_name
- ClassName -> class_name
|
2022-03-28 17:57:19 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Update to 4.1.0. From the changelog:
- verify_best_covering_pairs works the same as verify_all_combinations
but with a much smaller set in some cases:
\
<https://github.com/approvals/ApprovalTests.Java/blob/7fa4d7b694c5e59d8949739b82b348ff3993f9d6/approvaltests/docs/Features.md#combinationapprovalsverifybestcoveringpairs>
|
2022-03-01 16:58:00 by Amitai Schleier | Files touched by this commit (2) |
Log message:
Update to 4.0.0. From the changelog:
Scrubbing Existing Files. 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 its existing encoding
- Removed Deprecated method verify_file_with_encoding(),
NOTE: if you call verify_file() instead, your code will work as before
|
2022-02-21 12:02:13 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Update to 3.7.0. From the changelog:
Options.withComparator: 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.
|
2022-02-14 13:02:35 by Amitai Schleier | Files touched by this commit (4) |
Log message:
Update to 3.6.0. From the changelog:
Introduction Reporter: by default, if you haven't set up any DiffTools,
a friendly message pointing you to documentation about reports will be
printed to your console.
|