Closed Spaceghost closed 11 years ago
The reason the original file has so much code duplication is so I know which assertions are failing. Having each assertion on it's own line lets me navigation immediately to the failure and figure out what I need to correct.
Pull multiple assertion test into multiple tests.
If any of the routes fails with the previous test, you only see one at a time. This way you see all failing routes, which may help locate the real problem a lot faster. One assertion per test.