[NUnitAsp-devl] NUnitAsp and .NET 2.0
Brought to you by:
jlittle82
From: Jim S. <js...@ti...> - 2005-08-19 00:30:29
|
I spent the afternoon today installing the VS2005 beta and running NUnitAsp on it. After working my way through the normal porting issues, my test suite showed only three differences between 1.x and 2.0 with regards to NUnitAsp. I was able to resolve all of those issues to my satisfaction and I feel confident that NUnitAsp will work just fine with .NET 2.0. In case you're curious, here are the three issues I found: 1) Microsoft changed the naming scheme for nested controls in the datagrid. "parent__ctl3_child" is now "parent_ctl03_child". A small change to DataGridTester.GetChildElementHtmlId() fixed this. 2) Microsoft changed their JavaScript code for auto-postback. Instead of "javascript:__postback('name', 'value')", they now use "javascript:setTimeout('__doPostBack(\'name\', \'value\'), 0)". Adding the new pattern to WebFormTester.PostBack() fixed this. 3) Microsoft changed the behavior of drop-down lists so that calling ClearSelection() now selects the first item in the list rather than selecting nothing. I will change the NUnitAsp test suite to reflect the new behavior when I release the .NET 2.0 version of NUnitAsp. You're probably wondering when I will release an official .NET 2.0 version of NUnitAsp. The answer is: sometime after the next version of NUnitAsp comes out. I haven't decided whether I'm going to abandon .NET 1.x or try to support both. Help and/or money, as always, are a big influence on these decisions. Cheers, Jim -- James Shore--Titanium IT--Recipient of 2005 Gordon Pask award New Course! "Test-Driven ASP.NET" Sept 13-15 in Bellevue, WA. Details at http://nunitasp.sourceforge.net/tdd-course.html phone: 503-267-5490 email: js...@ti... web/blog: http://www.jamesshore.com |