DEV Community

loading...

Discussion on: Automated tests before reaching market - worth it or not?

Collapse
grahamcox82 profile image
Graham Cox Author

For myself, I think API level tests are absolutely worth it, but I'm not sure UI tests are too early on in the process.

API tests can be relatively easily changed if you decide that the API design is wrong. UI tests are inherently more brittle and are more expensive to rewrite if/when the UI does change. They're also slower to run and more difficult to get set up correctly in the first place.