What is heuristic checklist used in Unit Testing?
Here is the check ist maximum companies using at the moment…
- Understand the need of module/function in relation to specs
- Make sure about the type of values you are passing to the function as input.
- Have a clear idea about the output that you are expecting from the function based on point 1(above).
- Be specific about the test data you are passing to the function in terms of type(incase of positive testing).
- Remember that you need to do both positive and negative testing.
- Be Clear about type casting (if any).
- Have a cristal clear idea about type of assertions (is used to Test/compare the actual with expected).
- Be clear about how the function is being called and is there any other function calls involved in the function you are testing.
- Perform Regression testing for each new build and keep a log of modifications you are making to your unit testproject(better if you use Visual source Safe).
- Its always better to debug both positive and negative testing to see how the function is performing so that you can have a clear understandability about the function you are testing.
- its always better to have a seperate project for unit testing by using just referencing the dll of the Application.
Similar Posts:
- None Found
