What Do You Do When A Defect Is Reported
Test-driven development generally lowers the defect density of software. But we're all fallible, so sometimes a defect will slip through. When this happens, write a failing test that exposes the defect. When the test passes, you know the defect is fixed!Don't forget to use this as a learning opportunity. Perhaps the defect could have been prevented by being more aggressive about testing everything that could reasonably break.Or perhaps there are other places in the application that have the similar code that might break too.
2009-2016 downloadmela.com. All rights reserved.