GTAC 2015: How to Component Test Soup Dumplings
http://g.co/gtac
Slides: https://docs.google.com/presentation/d/1x7FjkFqLjwOTNUM_Mgag8Ar_MXQ5HZsQ-18CVqoR5MQ/pub
Toni Chang (Google)
People that have spent too much time stabilizing flaky tests would agree that we need to decompose tests. However, some find it difficult and not sure how, others may be challenged by teammates that believe we need E2E test to validate all scenarios. Since it is sometimes difficult to get the idea when you are not used to viewing your product in components, I will use an abstract example of a Soup Dumpling to demonstrate how to break down what seems to be an inseparable piece to components and apply tests to them.
I will take you through a fun journey of translating E2E test into component test that will give you confidence in the final product. Hopefully this will give you a fresh perspective when you look at your own product.