./devel/py-approvaltests, Assertion/verification library to aid testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.3.1, Package name: py310-approvaltests-8.3.1, Maintainer: schmonz

`approvaltests` is the Python port of ApprovalTests, an open source
assertion/verification library to aid testing.

You can use ApprovalTests to verify objects that require more than a
simple assert including long strings, large arrays, and complex hash
structures and objects. ApprovalTests really shines when you need a more
granular look at the test failure. Sometimes, trying to find a small
difference in a long string printed to STDOUT is just too hard!
ApprovalTests solves this problem by providing reporters which let you
view the test results in one of many popular diff utilities.


Required to run:
[devel/py-setuptools] [x11/py-pyperclip] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 35.315 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-02 20:32:46 by Amitai Schleier | Files touched by this commit (3)
Log message:
Update to 8.3.1. From the changelog:

- Added executable commands, plus fixed bugs with import statements
   2023-04-11 17:36:22 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 8.2.5. From the changelog:

- Removed all linting errors
   2023-03-15 15:07:39 by Amitai Schleier | Files touched by this commit (3)
Log message:
Update to 8.2.4. From the changelog:

- Build fixes
   2023-03-13 14:56:09 by Amitai Schleier | Files touched by this commit (3)
Log message:
Update to 8.2.1. From the changelog:

- Move version.py to allow ApprovalUtilities to use it
   2023-02-18 03:00:17 by Amitai Schleier | Files touched by this commit (2) | Package updated
Log message:
Update to 8.2.0. From the changelog:

- updated assert_equal_with_reporter(expected, actual) to take options
  matching current patterns of approvaltests
   2023-01-16 19:38:04 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 8.1.0. From the changelog:

- create_line_scrubber: Easy way to remove entire lines based on
  a keyword.
   2022-12-19 11:39:00 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 8.0.0. From the changelog:

- Rename 'Throttle' to 'Limit'
   2022-12-12 14:43:14 by Amitai Schleier | Files touched by this commit (3)
Log message:
Update to 7.4.0. From the changelog:

Throttling of reporters after 5:
- To avoid too many diff tools being launched, ApprovalTests will stop
  launching after the 5th time. This is configurable in
  GenericDiffReporter.throttling_threshold