Skip to main content

Posts

Showing posts with the label cypress

How to Add GUI to your E2E API tests ?

  We like to pretend there are two disjointed end-to-end test types: API and browser automation tests. And that the tools used are very different; the API tests are executed by a CLI test runner, while automation tests all fire up a browser. Yet, a good E2E automation test runner, in my opinion, should be really good at working with a remote server API via HTTP. After all, this is what every useful website does. Every website exchanges data with remote servers through HTTP requests. What if the same tool could do both tasks very well? What if the same tool could exercise the feature of your TodoMVC web application,  and  could test your server’s API to make sure a server-side logical or data error has not crept up undetected? +------------------------------+ | http://.... | |------------------------------| | | | | | | | | | web application <-