├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── examples ├── django_project │ ├── django_project │ │ ├── __init__.py │ │ ├── settings.py │ │ ├── snapshots │ │ │ ├── __init__.py │ │ │ └── snap_tests.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── wsgi.py │ ├── lists │ │ ├── __init__.py │ │ ├── apps.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── snapshots │ │ │ ├── __init__.py │ │ │ └── snap_tests.py │ │ ├── templates │ │ │ └── home.html │ │ ├── tests.py │ │ └── views.py │ └── manage.py ├── pytest │ ├── snapshots │ │ ├── __init__.py │ │ ├── snap_test_demo.py │ │ └── snap_test_demo │ │ │ ├── test_file 1.txt │ │ │ ├── test_multiple_files 1.txt │ │ │ └── test_multiple_files 2.txt │ └── test_demo.py └── unittest │ ├── snapshots │ ├── __init__.py │ ├── snap_test_demo.py │ └── snap_test_using_callback.py │ ├── test_demo.py │ └── test_using_callback.py ├── setup.cfg ├── setup.py ├── snapshottest ├── __init__.py ├── diff.py ├── django.py ├── error.py ├── file.py ├── formatter.py ├── formatters.py ├── generic_repr.py ├── module.py ├── nose.py ├── pytest.py ├── reporting.py ├── snapshot.py ├── sorted_dict.py └── unittest.py ├── tests ├── conftest.py ├── test_formatter.py ├── test_module.py ├── test_pytest.py ├── test_snapshot_test.py └── test_sorted_dict.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/README.md -------------------------------------------------------------------------------- /examples/django_project/django_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/django_project/django_project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/django_project/settings.py -------------------------------------------------------------------------------- /examples/django_project/django_project/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/django_project/django_project/snapshots/snap_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/django_project/snapshots/snap_tests.py -------------------------------------------------------------------------------- /examples/django_project/django_project/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/django_project/tests.py -------------------------------------------------------------------------------- /examples/django_project/django_project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/django_project/urls.py -------------------------------------------------------------------------------- /examples/django_project/django_project/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/django_project/wsgi.py -------------------------------------------------------------------------------- /examples/django_project/lists/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/django_project/lists/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/apps.py -------------------------------------------------------------------------------- /examples/django_project/lists/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/migrations/0001_initial.py -------------------------------------------------------------------------------- /examples/django_project/lists/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/django_project/lists/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/models.py -------------------------------------------------------------------------------- /examples/django_project/lists/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/django_project/lists/snapshots/snap_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/snapshots/snap_tests.py -------------------------------------------------------------------------------- /examples/django_project/lists/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/templates/home.html -------------------------------------------------------------------------------- /examples/django_project/lists/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/tests.py -------------------------------------------------------------------------------- /examples/django_project/lists/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/lists/views.py -------------------------------------------------------------------------------- /examples/django_project/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/django_project/manage.py -------------------------------------------------------------------------------- /examples/pytest/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/pytest/snapshots/snap_test_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/pytest/snapshots/snap_test_demo.py -------------------------------------------------------------------------------- /examples/pytest/snapshots/snap_test_demo/test_file 1.txt: -------------------------------------------------------------------------------- 1 | Hello, world! -------------------------------------------------------------------------------- /examples/pytest/snapshots/snap_test_demo/test_multiple_files 1.txt: -------------------------------------------------------------------------------- 1 | Hello, world 1! -------------------------------------------------------------------------------- /examples/pytest/snapshots/snap_test_demo/test_multiple_files 2.txt: -------------------------------------------------------------------------------- 1 | Hello, world 2! -------------------------------------------------------------------------------- /examples/pytest/test_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/pytest/test_demo.py -------------------------------------------------------------------------------- /examples/unittest/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/unittest/snapshots/snap_test_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/unittest/snapshots/snap_test_demo.py -------------------------------------------------------------------------------- /examples/unittest/snapshots/snap_test_using_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/unittest/snapshots/snap_test_using_callback.py -------------------------------------------------------------------------------- /examples/unittest/test_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/unittest/test_demo.py -------------------------------------------------------------------------------- /examples/unittest/test_using_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/examples/unittest/test_using_callback.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/setup.py -------------------------------------------------------------------------------- /snapshottest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/__init__.py -------------------------------------------------------------------------------- /snapshottest/diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/diff.py -------------------------------------------------------------------------------- /snapshottest/django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/django.py -------------------------------------------------------------------------------- /snapshottest/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/error.py -------------------------------------------------------------------------------- /snapshottest/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/file.py -------------------------------------------------------------------------------- /snapshottest/formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/formatter.py -------------------------------------------------------------------------------- /snapshottest/formatters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/formatters.py -------------------------------------------------------------------------------- /snapshottest/generic_repr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/generic_repr.py -------------------------------------------------------------------------------- /snapshottest/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/module.py -------------------------------------------------------------------------------- /snapshottest/nose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/nose.py -------------------------------------------------------------------------------- /snapshottest/pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/pytest.py -------------------------------------------------------------------------------- /snapshottest/reporting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/reporting.py -------------------------------------------------------------------------------- /snapshottest/snapshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/snapshot.py -------------------------------------------------------------------------------- /snapshottest/sorted_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/sorted_dict.py -------------------------------------------------------------------------------- /snapshottest/unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/snapshottest/unittest.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/test_formatter.py -------------------------------------------------------------------------------- /tests/test_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/test_module.py -------------------------------------------------------------------------------- /tests/test_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/test_pytest.py -------------------------------------------------------------------------------- /tests/test_snapshot_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/test_snapshot_test.py -------------------------------------------------------------------------------- /tests/test_sorted_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tests/test_sorted_dict.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syrusakbary/snapshottest/HEAD/tox.ini --------------------------------------------------------------------------------