snapshottest icon indicating copy to clipboard operation
snapshottest copied to clipboard

Snapshot Testing utils for Python 📸

Results 57 snapshottest issues
Sort by recently updated
recently updated
newest added

This project's tests use the [`imp` module](https://docs.python.org/3/library/imp.html) which has been deprecated since Python 3.4 and removed in 3.12: * Raised `PendingDeprecationWarning` since [3.4 (2014)](https://github.com/python/cpython/commit/e4f41deccf94ccc798b1eb1f44657ade66669a60) * Raised `DeprecationWarning` since [3.5 (2015)](https://github.com/python/cpython/commit/c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a)...

Replace `imp` usage with `importlib` `imp` has been removed in Python 3.12 so this should make this package compatible. - https://github.com/syrusakbary/snapshottest/issues/142#issuecomment-703166275 Tests all pass locally on Python 3.12. - This...

Good first issue for anyone looking to contribute. Support for Python

Use importlib instead of imp, fixes #166

This patch allows producing more correct output for typed enum values. See also #120

The CI on Travis isn't running anymore, I tried to replicate the existing setup as much as possible in GitHub actions. In the process, I realised that the supported versions...

I'm snapshot testing a text file that gets generated in memory. The returned value is `bytes`. When a value is `bytes`, it currently is always on one line, like this:...

Hi guys, I think objects created in setUp are not automatically deleted after the tests (TestCase) end. I would expect the rollback is done. However, I'm new to Django, so...

I know that title sounds a bit silly, but what I meant is that when the "assert_match" method is run, what should be recorded is a copy of the data,...

Is that possible to support Pandas Dataframe? Currently, `snapshottest` only translate `df` into `GenericRepr` string value. The detailed data will be abbreviated. I hope it can put the dataframe into...