News for hackers. Stuff that matters.
Re:Air – Live reload when developing with Go by rakoo on Sunday August 01, 2021 @04:32AM (#28024757)
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 ?
Re:Air – Live reload when developing with Go by pjmlp on Sunday August 01, 2021 @04:35AM (#28024771)
Depends 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.

Re:Air – Live reload when developing with Go by mst on Sunday August 01, 2021 @07:56AM (#28025639)
Taking 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 :)

Re:Air – Live reload when developing with Go by philipswood on Sunday August 01, 2021 @07:50AM (#28025617)
I'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."

Re:Air – Live reload when developing with Go by scns on Sunday August 01, 2021 @08:40AM (#28025865)
For 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.
Re:Air – Live reload when developing with Go by IshKebab on Sunday August 01, 2021 @12:21PM (#28027434)
There are, but nothing really satisfactory to be honest. GUI testing is still an unsolved problem in my book.