tags:

views:

24

answers:

1

Hello, thanks to help me before. now i m facing the problem of test cases in unit testing so please if u have any idea or example of various test cases of unit testing then provide me.

A: 

Test all the branches of the code you want 100% line coverage if possible.

You will want test cases for all methods this allows you to re-factor code in the knowledge you have not changed its contract.

Paul Whelan