DEV Community

Bertil Muth
Bertil Muth

Posted on

Testing through the UI: the good parts

Many people are sceptical about testing through the user interface of an application. They prefer subcutaneous tests.

Typically, the arguments against testing through the UI are:

  • The tests run much slower than well-isolated unit tests
  • The tests are brittle, because the UI is one of the fastest changing parts of the application

In general, I fully agree with these arguments.
But today, I want to kick-off a different kind of discussion:
What positive experiences did you have with testing through the UI?

Top comments (1)

Collapse
 
alanmbarr profile image
Alan Barr

Sometimes the api setup is really complicated and the GUI did all the heavy lifting for me instead of having to mock up a lot of data and authorization boiler plate I didn't want to deal with. Especially oauth.