Friday, June 24, 2005

Test features in Whidbey: Thumbs up!

The test features in Whidbey are really cool. They are tightly integrated with the debugger (in Beta 2) and easy to use. I like that you have only to apply some attributes on classes and methods and Whidbey understands that those items are tests. Although it seems very similar to NUnit, but it seems to be the best way to do it.

I like the features of Whidbey to create the test stubs for existing classes! *thumbs up*

One thing I don't really like are the web tests. They are nice to create etc., but the output is almost never usable without any modifications.
One example is variable parameters in the URL of the web page (which happens very often). The user browses for example to the user overview and create a new user. Then she/he tries to edit that user (the url of the page would be for example EditUser.aspx?Id=342). After that she/he is going to delete the user. The next time the test runs it creates a new user but tries then to navigate to EditUser.aspx?Id=342. The user with that ID does no longer exist.
The only way I was able to make such tests working is to create a "coded" version of the webtest and edit it manually. I guess it's the only way, because Whidbey can't guess the IDs without some help :)

2 Comments:

Anonymous Scott Arthur Edwards said...

Here it is... FREE advertising, FREE download. No cost to you! Get your FREE download NOW! Make money and get FREE advertising! This is a great program for you to take advantage of... Check this out now for FREE!

To find out more visit: internet marketing opportunity site. It successfully exposes FREE information covering traffic and internet marketing opportunity related stuff. Don't forget, FREE, FREE, FREE!!!

3/31/2006 11:48 AM  
Anonymous cpanel hosting webhosting said...

cpanel hosting webhosting

Can I Help You.. Yes If you want to get on the web. If you want to start learning about creating a web site of your own.. go to http://webhost11.com. to find out more about cpanel hosting webhosting ... We can help find a web host for you.

5/06/2006 11:25 PM  

Post a Comment

<< Home