Testing · Senior · Question 71 of 75

Why might a senior engineer argue against a test suite full of toMatchSnapshot() for components?

Explanation

Snapshots fit serialized data (API mappers, error messages), not as a replacement for behaviour tests.

Further reading

Problem with a question

Testing · Senior · question 71

Test yourself

Take the Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz