Error Handling Testing
Error Handling Testing
Testing a system for valid paths and flows (positive testing), is essential. However, to understand how a system behaves when invalid flows and paths are attempted, we employ negative testing techniques, such as error handling testing.
Error handling testing confirms if the system under test is capable of handling errors and exceptions. This can be things like field level validation right through to invalid entries in API data fields.“
Related pages
Automation with Error Handling Testing
Automation can be used to test error handling scenarios. If error scenarios are clearly defined, and working as expected this can be included in regression testing.
Error handling testing can occur right throughout the delivery pipeline – from involvement in static testing, unit testing, system testing, integration testing to user acceptance testing. As with all forms of testing, the sooner this is captured in the delivery pipeline and the more frequently testing is performed, the more value is delivered to the business.