2 ms·
Yeah, you should, but you don't have to check trivial things like "is this a list?"
by Retra 12y ago
Yeah, you should, but you don't have to check trivial things like "is this a list?"
- arethuza 12y agoWell, I wouldn't write a unit test for that - I would write a unit test for the high level observable behavior and if I get it wrong that something is a list then it'll break and my unit test will fail.
- viraptor 12y agoI think that's closer to functional testing than unit testing though...