Rethinking in Snapshots
In this lesson, we'll be learning more about Snapshots.
Recap
So far, you’ve seen how you can test Vue.js components’ structure, styles, methods, computed properties, events, watchers, and more. And you’ve learned to do that using different techniques and methods.
But, what if we tell you that you can test most of it using snapshot testing alone?
You’ve already seen snapshots being used in chapters 1 and 2 but those chapters were more focused on explaining shallow and deep rendering, so we haven’t explained them in detail yet.
Snapshot Testing in Details
Snapshot testing is the technique of asserting by comparing two different outputs. ...
Access this course and 1400+ top-rated courses and projects.