Chapter 10. Testing

When you publish a website or a web application to the public, users expect it to work. Links are supposed to take their places, and buttons are supposed to do things. They may not have the technical knowhow to look in good their browser console or observe network traffic. They may even have good reason to disable JavaScript on their browser.

The truth is, sometimes websites don't work because of hardware, software, or user error, but at other times the cause comes from the developer's buggy code. Maybe the code was pieced together from a cut-and-paste collage of code samples and stack overflow answers. Then the developer rushes to test the application once or twice, using the same workflow they use every time they write a component. ...

Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.