Re:How we test the TeamCity UI
by bickeringyokel on Friday June 26, 2020 @03:03AM
(#23649474)
Am I misunderstanding, or are snapshots basically just schema validation?
[ Parent
| on HN ]
Re:How we test the TeamCity UI
by simoncarter on Friday June 26, 2020 @05:55AM
(#23650319)
It's more akin to file diffing. Developers are notified of any differences in snapshots. The developer can they either accept the new snapshot, or investigate and fix.
Re:How we test the TeamCity UI
by steve_adams_86 on Friday June 26, 2020 @10:35AM
(#23652406)
Sort of - It ensures that your logic still generates the same output as before, so perhaps a step after the schema and a little closer to the user. I think people take it to mean the output will still look the same for the end user, though. That's rarely the case since markup is typically styled by CSS. CSS changes will largely be missed in the snapshots unless a class name is added, removed, or updated in the markup.