Unit Testing of an Interface?
-
Is it possible to conduct unit tests for interfaces in ,net framework other than constructors, classes, methods? i would appreciate if anyone can provide a clue to me.
-
Is it possible to conduct unit tests for interfaces in ,net framework other than constructors, classes, methods? i would appreciate if anyone can provide a clue to me.
What do you mean by "unit tests for interfaces"? Interfaces, by their very nature, will not have concrete implementations - so what are you going to test?
Cheers, Vikram.
The cold will freeze our stares We won't care...
-
Is it possible to conduct unit tests for interfaces in ,net framework other than constructors, classes, methods? i would appreciate if anyone can provide a clue to me.
I am assuming you are discussing the unit testing of the user interface of an application web or winform. There are open source and commercial products which address this however they are not as complete as one would hope. For the last two years I have been using the MVP pattern which allows me to provide a richer level of unit testing for the controls on the user interface. Martin Fowler Previous to this I used the MVC pattern which provides much of the same benifits. I have used the open source asp.net and win forms unit testing tools but they are difficult to get the level of results I was looking for.
-
What do you mean by "unit tests for interfaces"? Interfaces, by their very nature, will not have concrete implementations - so what are you going to test?
Cheers, Vikram.
The cold will freeze our stares We won't care...