Re:Unit testing, Lean Startup, and everything in-between
by kkapelon on Sunday March 12, 2017 @05:39PM
(#13853277)
Effective UI tests use the page pattern and should be resilient against minor UI changes.
https://martinfowler.com/bliki/PageObject.html
There are several testing tools that support this pattern.
Re:Unit testing, Lean Startup, and everything in-between
by itamarst on Sunday March 12, 2017 @05:45PM
(#13853310)
In initial stages of product development the UI can change much more drastically than just minor tweaks.
For library code I'd use TDD, though.
UIs are more suited to human testing (though cost pushes towards automated testing once the UI is stable enough), APIs are more suited to automated testing. And if you're doing prototyping or usability testing you might not need either (you might not even need to write code, sometimes).