Most code w/o tests has hard dependencies (i.e. new everywhere) or static methods, so it's almost impossible to throw a unit test in place.
@shit_so_says You raised the level of abstraction to Haskell. The .NET engineer commented mentioning the library 'TypeMock'.
-
-
@shit_so_says It's pedantic to assume that somebody that mentions language-level features/signifiers is making a general answer. - 15 more replies
New conversation -
-
@shit_so_says He's referring to testing units of work which have side-effecting dependencies created inside them. 'new' is just a signifier. -
@sebinsua The comment said nothing about "units of work which have side-effecting dependencies" hence my original tweet.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.