| Home | Biography | Speaking | Articles | Books | Music |
Today I tried to add tests for a set of pages in the application, and none of them were succeeding. Here’s the flow:
If I do this in IE, it works - I see the item in the cart. But in my NUnitAsp test, no dice - the cart is empty.
I think there’s a bug in NUnitAsp with cookies and redirects, but I’m not sure. There’s not a lot of material on the Net about NUnitAsp but here’s what I found:
HttpClient not supporting cookies correctly. Note the date of this post - 11/25/2003, or almost 1 1/2 years after they put in a fix. The response (click here) doesn’t say if these fixes are necessary, or, if they are, if they were ever implemented in the main code line.So, I think I’m screwed unless I dive into the NUnitAsp code base and try to figure out if there is a bug and then try to fix it. Unfortunately, there’s other things that are important to get done, and debugging NunitAsp is not very high on the client’s list. So…if you’ve run into this before and have a solution (or at least some insight) please post a comment - thanks!
Published: 05.06.2005 03:20:46 PM CST