locked
How to design class and function for unit testing RRS feed

  • Question

  • User1183902823 posted

    looking for a guide line for class and function design which help us to easily unit test all the functionality of a class.

    for unit test always a class need to implement interface?

    some time our function has huge line with many switch case and if-else then how could i refactor those area?

    please show me a good design class and function for unit testing with example.

    Thursday, November 30, 2017 6:53 PM

Answers