Test Driven DevelopmentOne of the implementation of eXtreme Programming is test driven development. Test driven development uses unit test to make sure the consistency and quality of the codes. Test driven development is started with the unit test in mind.
- Creating unit test project
- Designing unit test codes
- Running the unit test and make it fail
- Creating the codes to make it pass
- Running the unit test
- Wrong data inputted by the customer
- Network and configuration
- Process anomaly
- creating break point. it can be casual breakpoint, inline breakpoint (breakpoint for single but complex statement), conditional breakpoint (breakpoint that only works based on specific expression)
- Setting variable to watch
- Running the debugger
- Analyzing the process and watched variable
- Finding the bug and fix it.
- Running the unit test to make sure that the codes don't break
- Turn back the time. The debugger on Visual Studio not only can slow the codes so we can think but also we can step backward
- Logpoints. The logpoints create unique model of the breakpoint. Logpoints save the breakpoint information into a log. Log can be learned later.
- Remote debugging. The remote debugging feature helps you to debug the deployed system such azure VM, app services, web, or universal windows store app. You can learn here about remote debugging.
Leave a Reply