by lnanek2 · 12y ago · 0 comments
It would require human intervention in the case of a failure, to be sure, but those cases where it can guarantee I don't need to bother looking because my change didn't change anything visible in those screenshots is potentially a significant boon.
He talks about fiddling with UI elements which is sometimes a one-time thing after you get it setup. Writing tests for that is sometimes a waste of time.
Now, if you have code that's going to do some form of complex screen manipulation and it's a big piece of what you're doing, it makes more sense to automate some tests.
I get Uncle Bob's point, though, and I welcome what looks like a very reasonable peace offering to the zealots on the other side.
Unless you do a small change then make the robot do everything.
(Also, this may also be used for device tests in the production line)