joseph-roitman / pytest-snapshot

A plugin for snapshot testing with pytest.
MIT License
117 stars 12 forks source link

Default snapshot dir #13

Closed joseph-roitman closed 4 years ago

joseph-roitman commented 4 years ago

Add a default snapshot_dir.

If test_module.py::test_func creates a snapshot without setting snapshot_dir beforehand, a default snapshot directory will be used alongside test_module.py in the path snapshots/test_module/test_func.

Closes #12