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.
-
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.
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of Selfie or a related project?