#12 Refactoring User Name Part 3
Mar 30, 2007 | 4 minutes | Refactoring, Testing
In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.



I like how you showed the process of refactoring in this series, but I wouldn't recommend multiple assertions in one controller.
See http://blog.jayfields.com/2007/06/testing-one-assertion-per-test.html
Yes, I agree. Multiple assertion is a bad practice since only the first assertion gets called if code changes alter behavior.
First sign in through GitHub to post a comment.