Steve's Electric Dreams

A BizTalk and .NET Blog

<October 2008>
SuMoTuWeThFrSa
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678


Navigation

Professional

Subscriptions

Post Categories



Testing in VS 2005

Saw a good session on the new test framework in VS 2k5 this morning.  This is a real improvement over...well...nothing.

Unit Tests - Auto-generated VB.NET or C# unit test code.  NUnit users will find this VERY familiar.

Web Tests - Recordable, automated web UI test scripting.  Can simulate IE or Netscape browsers.  You can bind form fields to a data source rather than using the same values over and over again.

Load Test - This is a container for any combination of Unit and Web tests.  You can specify the number of users to simulate and a bunch of other stuff.  It can collect performance counters and such.  VERY COOL.

Manual Test - This is weird.  It is managed just like any other test in the system, but the script to “run” the test is just a text or Word document.  You then select “Pass” or “Fail” from a dialog box.  It seems odd by itself but the cool thing is that the results are integrated with the bug tracking and other functionality of Team System just as though it was an automated test.

The Missing Test - Still no WinForm / GUI test automation in the product.  MS had to bring in CompuWare to keep this from looking like a big hole.

 

posted on Wednesday, May 26, 2004 8:44 AM by swright


# Visual Studio2005下配置及运行NUnit @ Saturday, December 15, 2007 3:53 AM

知道.net下有个NUnit,一直没有用它来写程序。今天测试了下试试,写点心得出来,一边写程序一边还得测试,浪费了很多时间精力。代码有了一定规模了,慢慢体会到单元测试的作用。用Nunit进行单元测试能及时发现新的Bug,保证原有的功能正常运行。而不必手工一个个的去试验,这是很宝贵的。在NUnit的安装目录的bin下面有两个config文件:nunit-gui.exe.config,nunit-console.exe.config,其中有一段startup的配置段,默认如下:

Anonymous

# Visual Studio2005下配置及运行NUnit @ Sunday, December 16, 2007 9:28 PM

知道.net下有个NUnit,一直没有用它来写程序。今天测试了下试试,写点心得出来,一边写程序一边还得测试,浪费了很多时间精力。代码有了一定规模了,慢慢体会到单元测试的作用。用Nunit进行单元测试能...

Anonymous




Powered by Dot Net Junkies, by Telligent Systems