top | item 36029000

(no title)

hugatest | 2 years ago

Those who think they are unit testing but are actually integration testing.

This is not just about terminology. If you don't have actual unit tests then your testing is much more complicated and heavyweight than it needs to be with costly consequences for maintaining your software. You can run thousands of unit tests in a second if you just run some functions and verify their output. If you need to set up some hardness to interact with the kernel, virtualizing and mocking tons of facilities around it, then your testing speed goes down by orders of magnitude.

discuss

order

No comments yet.