Search:
Type: Posts; User: Igor Vartanov
Search:
Search took 1.19 seconds.
-
This is what I told you about, exactly it is: you have to redesign your call interfaces until unit testing becomes easy going and natural.
-
Man, it seems you don't listen. Not any code can be unit tested. If you can't mock the type you have to mock, you either change your code or switch to a smarter unit test framework.
In your...
-
I don't get what you talk about. You test only what you test, you mock everything else. The framework you use ideally helps you to generate mocked interfaces. If it does not, you either find another...
-
The main principle is mocking types the tested function depends on.
With this you may find unit testing almost impossible for a tightly coupled code. :)
|
Click Here to Expand Forum to Full Width
|