assertEquals on objects is a mistake
When I’m writing production ready code I find that I spend 90% of my time writing test cases and 10% of the time writing the actual production code. There is a great temptation to take shortcuts when writing tests but there is one in particular I try to avoid. In this article I’m going to…