Active
Project:
Drupal core
Version:
main
Component:
javascript
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Sep 2017 at 14:39 UTC
Updated:
29 Sep 2017 at 14:39 UTC
Jump to comment: Most recent
What is Snapshot testing and Why?
READ: https://facebook.github.io/jest/docs/en/snapshot-testing.html
For all have no experience on Snapshot testing, here's a working example:
https://github.com/yarnpkg/yarn/pull/4317
All I do is run yarn jest -u to update the tests and need not write a single line of test for my fixes & patch.
** This is not limited to Jest.
- Evaluate how mature that is in the JS test engine we chosen. (Probably, that is Mocha: #2869825: Leverage JS for JS testing (using nightwatch))
Comments