YOUR FEEDBACK
E-Commerce 2.0
Brian wrote: I think we're heading in the right direction, but we've still...

SYS-CON.TV
TOP MICROSOFT .NET LINKS


Parasoft .TEST

Digg This!

Parasoft's .TEST product aims to automate the creation and execution of testing for quality assurance of .NET code. Specifically, it can produce four kinds of tests: white box, black box, regression, and static analysis.

White box tests are able to interact with the private members and variables in a software component to verify that it has been built properly. Black box tests, on the other hand, limit themselves to only the externally-visible portions of components, to verify that they interact properly with their environment.

Regression testing occurs after all of the white boxes and black boxes have passed successfully for the first time. After this, every code modification should involve the repetition of all previous white and black box tests, to verify that no errors have been introduced by the modification(s).

The final kind of testing that .TEST can automate is static analysis testing. In this type of test, your .NET code is compared to a set of built-in code design rules to assess its quality. If your code violates these rules, quality points are deducted. When it follows the rules, quality points are awarded.

How .TEST Performed
I'll give you the good news first. Dynamic testing ­ white box, black box, and regression ­ is made infinitely easier and more valuable by .TEST. After creating my simple test application, I was able to automatically generate a whole suite of unit tests for my code in all of about 10 minutes... and it only took that long because I didn't bother to read the directions!

The unit tests seemed to be of genuinely high quality. Each method in my application wound up having several unit tests automatically generated for it. Only white box tests were generated for the private methods. Both white and black box tests were generated for the public methods. So, if nothing else, there could be little or no doubt about the adequacy of test coverage.

Upon drilling down into the source code for the various tests, I was pleasantly surprised by the quality of their contents. Although there are obvious limits to exactly how specific tests that are generated automatically by third-party software can be, the range of automatically generated tests I saw seemed to be about as good as they could get. Savvy developers who supplement many of these tests with just a few of their own will almost certainly produce the most reliable code possible.

The static analysis functions worked quite well (see Figure 1). Thanks to the product's tight integration with Visual Studio .NET, I was able to simply click a button to quickly verify the .NET code I had produced against a built-in database of apparently several hundred rules (see Figure 2).

My code didn't exactly pass (or even come close, really), but that wasn't my main gripe with this feature. What I really couldn't understand was why anyone would pay money for this functionality, when a very similar product is available free from Microsoft's GotDotNet Web site (www.gotdotnet.com/team/fxcop). Admittedly, though, the rules here seemed significantly more extensive than in Microsoft's free download, and it was nice to have both kinds of testing unified in the same tool.

In the final analysis, I felt the value of the automatically created and run dynamic unit tests alone were enough to justify the purchase price of the product. Therefore, the relative value of the static code analysis was immaterial. I considered myself a very happy camper and I intend to continue using .TEST as long as I can before my evaluation license expires!

Parasoft
101 E. Huntington Dr.
2nd Floor
Monrovia, CA 91016
www.parasoft.com
Phone: 626.305.0041
Fax: 626.256.6884
info@parasoft.com

Specifications:
Windows NT/2000/XP. Note: .TEST fully integrates with Microsoft Visual Studio .NET

Microsoft .NET Framework 1.1. The .NET Framework 1.1 is included in Microsoft's Visual Studio .NET 2003. If you already use Visual Studio .NET, you can download and install the .NET Framework 1.1 from Microsoft's download site.

PC with a Pentium II class processor, 450 MHz, minimum; Pentium III class, 600MHz or better, recommended.

256 MB RAM is a required minimum;
512 MB RAM recommended.

About Derek Ferguson
Derek Ferguson is an associate director in the Information Technology Group at Bear Stearns, a leading global investment banking, securities, trading, and brokerage firm.

MICROSOFT .NET LATEST STORIES
Icahn Moves To Force Microsoft & Yahoo Together
Corporate raider Carl Icahn started his proxy fight for control of Yahoo this morning, beginning with the classic Icahn opening, the letter of reproach to the Yahoo board telling them they have acted 'irrationally and lost the faith of shareholders and Microsoft.'
"RIA" vs "Rich Client Platform": The Term Is Now Up for Debate
'RIA' is slowly fading in terms of its definition. When I first started the RIA Evangelism role in Microsoft, I had this nagging feeling that the term RIA was just all over the place. Depending on which technology you are backing and which stream of alliance you uphold, the truth is th
Book Review: ASP.NET 2.0
ASP.NET developers are bored with traditional books that outline concepts in a lengthy way. These books are good if you like to learn the features in a detailed manner. However, by the time the book is read, a new version will be released. Hence, many learners including myself prefer s
Peer Networking Series - A Closer Look at PNRP vs. Bonjour/ZeroConf
It seems as though whenever I bring up PNRP and its benefits, I am immediately inundated with a list of questions or comments indicating that Microsoft is re-inventing the wheel and that PNRP has already been implemented before in the form of ZeroConf and, more specifically, Apple's im
db4o Open Source Object-Oriented Database Supports LINQ
db4objects has announced that its db4o object database is now optimized for Microsoft's LINQ. With the new support, developers can choose an object-oriented optimized engine without changing the API or compromising performance. db4object's db4o database offers a persistence solution to
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
XtremeNotebooks Releases First Xeon Quad Core Laptop to the United States
XtremeNotebooks, first to introduce the Quad Core laptop to the United States, offers the firs