Description
Snapshot testing has been badly underused for three reasons:
- controlling read vs write used to be cumbersome (fixed)
- stale snapshots used to pile up (fixed)
- a great test should tell a story, and disk snapshots can't do that (fixed)
Selfie lets you put snapshots on disk OR inline with your sourcecode. It also lets a single snapshot have multiple facets, and assert against some on disk and others inline. For example, a giant HTML document get asserted on disk, while markdown is rendered from the HTML and asserted inline.
Selfie alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view selfie alternatives based on common mentions on social networks and blogs.
-
Fixture Monkey
Let Fixture Monkey generates fully-customizable, randomly populated instance. Focus on the properties of the class that really matter in your test. -
AutoParams
Enhance your TDD experience! AutoParams is a versatile test data generator designed for parameterized tests in Java and Kotlin, drawing inspiration from AutoFixture. -
WebTau
WebTau (web test automation) is a testing API, command line tool and a framework to write unit, integration and end-to-end tests. Test across REST-API, WebSocket, GraphQL, Browser, Database, CLI and Business Logic with a consistent set of matchers and concepts. REPL mode speeds-up tests development. Rich reporting cuts down investigation time. -
Serenity BDD
Automated Acceptance testing and reporting library that works with Cucumber, JBehave and JUnit to make it easier to write high quality executable specifications.
InfluxDB โ Built for High-Performance Time Series Workloads

Do you think we are missing an alternative of Selfie or a related project?