I look at each unit test as a sample. Some of these might be bad. In aggregate, I think they provide stronger assurances. A sample (or the sampler itself) being bad doesn't necessarily affect the thing that is being measured.
The incorrect behavior would have to be baked into the actual application at some level. I review this code much more thoroughly than the test code.
I look at each unit test as a sample. Some of these might be bad. In aggregate, I think they provide stronger assurances. A sample (or the sampler itself) being bad doesn't necessarily affect the thing that is being measured.
The incorrect behavior would have to be baked into the actual application at some level. I review this code much more thoroughly than the test code.