You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,7 @@ These are the cli options exposed to `pytest` by the plugin.
140
140
|`--snapshot-no-colors`| Disable test results output highlighting. Equivalent to setting the environment variables `ANSI_COLORS_DISABLED` or `NO_COLOR`| Disabled by default if not in terminal. |
141
141
|`--snapshot-patch-pycharm-diff`| Override PyCharm's default diffs viewer when looking at snapshot diffs. See [IDE Integrations](#ide-integrations)|`False`|
142
142
|`--snapshot-diff-mode`| Configures how diffs are displayed on assertion failure. If working with very large snapshots, disabling the diff can improve performance. |`detailed`|
143
+
|`--snapshot-ignore-file-extensions`| Comma separated list of file extensions to ignore when walking the file tree and discovering used/unused snapshots. | No extensions are ignored by default. |
If using a tool such as [DVC](https://dvc.org/) or other tool where you need to ignore files by file extension, you can update your `pytest.ini` like so:
0 commit comments