Snapshot testing using Nightwatch and mocha

snapshot_nightwatch.png

Snapshot testing is one of many different testing tools, which compares the previous and current snapshot. Unlike TDD, snapshot testing relies on the fact that your component renders correctly already.

Read On