SnapshotTestRunnerMixin can be used with other unittest
TestRunner classes.
Closes #51
Still need to:
[ ] Finalize namespaces and naming
(is it weird that the module-level __main__.py would be
used for unittest-specific features?)
[ ] Add tests
[ ] Track down some odd behavior where --snapshot-update
only writes files if the snapshot data has changed, affecting
all of nose/django/unittest, but not pytest (and apparently
pre-dating this PR)
Add test-session-level features for raw unittest framework:
This also adds snapshottest-augmented versions of the various ways to run unittest:
python -m snapshottest ...
parallelspython -m unittest ...
(via module-level__main__.py
).snapshottest.main()
wrapsunittest.main()
.SnapshotTestRunnerMixin
can be used with other unittest TestRunner classes.Closes #51
Still need to:
__main__.py
would be used for unittest-specific features?)