3 ms·
I lnow you're saying that when it comes to GUIs you have to do it manually, but as someone working on the back-end this begs the question: is there no unit test
by rakoo 5y ago
I lnow you're saying that when it comes to GUIs you have to do it manually, but as someone working on the back-end this begs the question: is there no unit tests framework or anything for GUIs ?
- pjmlp 5y agoDepends if we are talking about native or web based GUIs, and then the best you can get is automating the user clicking buttons and if the UI changes in some limited ways. There is no way to properly test UI/UX experiences, even if the test is correct for a button being displayed with the right label, doesn't mean it looks correctly from user experience point of view, yet the test is green.
- philipswood 5y agoI'm expecting someone to train a ML model soon to interpret and score GUIs. "This page is confusing" and "This page no clear call to action" And "This page is ugly" And "This button doesn't look like a button."
- mst 5y agoTaking repeated screenshots of a GUI and making sure they don't change across commits is a useful thing to have in CI a lot of the time to make sure if you did change something somebody's eyeballed it for correctness. However I'm not at all claiming that removes the 'eyeballed it' step, just that it makes it harder to miss said step :)
- scns 5y agoFor native Android apps there is a framework to do GUI tests. The test code stayed in your release as a NOOP last time i looked at it, may be fixed now.
- IshKebab 5y agoThere are, but nothing really satisfactory to be honest. GUI testing is still an unsolved problem in my book.