One mistake I see many people make is relying on internal details in their tests. For example, assume that you wrote a stack class and that you use an array to store the data. This should be an internal matter for your class. You should not write a test case that verifies the order of […]