Re:Announcing TypeScript 0.9.1
by jlebrech on Wednesday August 07, 2013 @06:30AM
(#6171858)
he's right, you can cover more code using integration tests with a static typed language, unit test are then testing the functionality of individual classes.
especially for testing return types as C for example you assign those.
In C it's more popular to write example code which uses the library, and the errors are spotted at compile time.
especially for testing return types as C for example you assign those.
In C it's more popular to write example code which uses the library, and the errors are spotted at compile time.