What is Pex?

Pex generates test inputs that cover all, or at least many of the corner cases in your .NET code. These test inputs are plugged into parameterized unit test that you write. The result is a small unit test suite, where each unit test calls the parameterized unit test with particular test inputs. There is a great picture on the main Pex page that illustrates this process.

Pex supports other unit test frameworks since the unit tests that Pex generates can be executed by other unit test frameworks without Pex. Pex comes with support for MSTest, the unit test framework of Visual Studio, out of the box. For support for other unit test frameworks, please look at the Pex Extensions project.

Parameterized unit tests have been around for quite some time already, under several names — row tests, data-driven tests, theories, etc.

What is really unique about Pex is that it analyzes your .NET code, instruction by instruction, to understand what your code is doing. Then, in a fully automatic way, Pex computes relevant test inputs that trigger the corner cases of the code. When you write assertions, Pex will try to come up with test inputs that cause an assertion to fail.

Feedback

To ask questions, get help, or just give feedback, please take a look at our mailing lists.

Links

Homepage: http://research.microsoft.com/pex

Download: http://research.microsoft.com/pex/downloads.aspx

Nikolai Tillmann’s Blog: http://blogs.msdn.com/nikolait

Peli de Halleux’s Blog: http://blog.dotnetwiki.org/

 

Well, the next version of XNA Game Studio is released. Download it here.

What’s New with XNA Game Studio?

  • XNA Game Studio 2.0 works in all versions of Visual Studio 2005. This includes Standard and Professional, as well as many other specific editions.
  • The new and improved interface makes it easier for you to manage your Xbox 360 console.
  • You’ll find that managing and building content is easier and more consistent in XNA Game Studio.
  • We’ve included project templates for content importers and processors.
  • You can configure how content is processed with the new ability to set parameters on Content Processors.

What’s new in the XNA Framework? Now you can:

  • Create rich multiplayer games over Xbox LIVE using the new networking APIs.
  • Create Audio more effectively with the new XACT editor!
  • Host XNA Framework games easily inside a Windows Form.
  • Use the virtualized GraphicsDevice: no more special code to handle device reset and recreate!
  • Take advantage of render targets that are more flexible, consistent, and easier to use. Xbox 360 and Windows now support multiple render targets (MRTs) as well.
  • Easily nest one component inside another thanks to improvements in GameComponent.
  • Enjoy many more enhancements and tweaks!
 

If Google can do it, so can Microsoft. Volta is the GWT of .NET. Enough said. Here’s a description of what it is.

The Volta technology preview is a developer toolset that enables you to build multi-tier web applications by applying familiar techniques and patterns. First, design and build your application as a .NET client application, then assign the portions of the application to run on the server and the client tiers late in the development process. The compiler creates cross-browser JavaScript for the client tier, web services for the server tier, and communication, serialization, synchronization, security, and other boilerplate code to tie the tiers together.

Developers can target either web browsers or the CLR as clients and Volta handles the complexities of tier-splitting for you.  Volta comprises tools such as end-to-end profiling to make architectural refactoring and optimization simple and quick. In effect, Volta offers a best-effort experience in multiple environments without any changes to the application.

Download it here.

You need Visual Studio 2008 and .NET Framework 3.5.

 

Microsoft IT and Microsoft Research released a Line Of Code (LOC) counter that counts the number of lines of code in your software development project to determine the size and status of your project, predicting system defects, providing measurements of productivity and quality, accessing code stability, and using these metrics to measure the success of your project.

LOC Counter can be used as a stand-alone client or as a Visual Studio 2005 add-in. The tool has the following features:

  • It handles many different programming languages.
  • It performs many different kinds of code counts.
  • It handles comments, system-generated code, blank lines, and code churn.
  • It connects to many different repositories.
  • It provides an estimated defect density that is based on code churn.
  • It is customizable. A user can change the kinds of objects that are counted during a counting task.
  • It generates detailed reports. In addition, a user can export the report information to a Microsoft Office Excel® worksheet or to a Portable Document Format (PDF) file.
  • It is fast. The tool can parse 10 million lines of code in less than one hour.

It uses a Defect Density Algorithm developed from Microsoft Research that uses the following version control history of a file to estimate the software defect density with an accuracy of 89 percent:

  • The number of times that the selected files has been modified
  • The time period in which the modifications have occurred
  • The number of files that were actually modified

Use of Relative Code Churn Measures to Predict System Defect Density” is a PDF document from Microsoft Research that describes this.

An IT Showcase web cast called How Microsoft IT Uses Visual Studio Team System 2005 to Measure Software Code Stability includes a discussion on how code changes, also known as code churn, may affect the code stability of a programming project.

 

As the title says, it is released on MSDN Subscriptions. Go get it everyone!

Visual Studio Team System 2008 Team Foundation Server Trial (x86 and x64 WoW) – DVD (English)
Visual Studio Team System 2008 Team Suite Trial (x86 and x64 WoW) – DVD (English)
Visual Studio Team System 2008 Test Load Agent Trial (x86 and x64 WoW) – CD (English)
Visual Studio 2008 Standard Edition (x86 and x64 WoW) – DVD (English)
Visual Studio 2008 Express Editions (x86 and x64 WoW) – DVD (English)
Visual Studio 2008 Professional Edition (x86 and x64 WoW) – DVD (English)
MSDN Library for Visual Studio 2008 (x86 and x64 WoW) – DVD (English)

 

Here are some nice keybinding posters from Microsoft Downloads.

Visual Basic 2008 Keybinding Poster

Printable wall poster containing list of useful keyboard shortcuts for Visual Basic 2008 developers

Visual C++ 2008 Keybinding Poster

List of keybidings for Visual C++ language within Visual Studio and Visual C++ Express 2008

Visual C# 2008 Poster

Wall chart showing useful keyboard shortcuts for Visual C# programming language

NET Namespaces Poster

The .NET Framework 3.5 Common Namespaces and Types Poster

 

Nothing much going on with Microsoft Downloads. Here’s something of interest to me, since I’ve been doing Team System and Team Foundation System for the past few weeks.

Visual Studio Team System Architecture Edition Power Tools

The Team System Architecture Edition Power Tools are a collection of features that augment and enhance the experience of the Distributed System Designers.

Team Foundation Server Migration Tool for Rational ClearCase

This tool helps automate the migration process from Rational ClearCase to Team Foundation Server.

 

The Strong Coders Community will be hosting its monthly Ask An Expert Live chat on Thursday, August 23, 2007 at 5:00 PM PDT. Get your tough development questions answered by Microsoft MVPs, ASPInsiders, Regional Directors, and other industry experts.

Experts will be on hand to answer your .NET- and Visual Studio-related questions. No off topic questions.

Please note that this chat is not being hosted by Microsoft and as such questions regarding upcoming products and future product specs may not be answered.

Thursday, August 23, 2007
5:00 – 6:00 P.M. Pacific Time
8:00 – 9:00 P.M. Eastern Time
00:00 – 01:00 GMT

Chat Link: http://msdn2.microsoft.com/en-us/chats/default.aspx
ICS: http://www.microsoft.com/communities/chats/vcs/07_0823_msdn_aspnet.ics 

I’ll be one of the experts there, so do join in and ask any questions you might have, especially with AJAX, Silverlight, Acropolis, Smart Clients, and C# Language.

Cheerios.

P.S.
Oh wait! I just found out there is going to be a prize too! Read here for more details on the prize.

 

I am impressed with how fast Visual Studio 2008 Beta 2 loads up, within milliseconds in fact. Very impressive. A huge improvement than the 10-15 seconds loading time in Visual Studio 2005. Applauds and thumbs up to the Visual Studio IDE team. You have heard my plea for a faster loading time.

 

As the title goes, it is on MSDN ready for downloading. Here are the links.

Get an early look at Visual Studio 2008
The next version of Visual Studio, Microsoft® Visual Studio® 2008, will provide an industry-leading developer experience for Windows Vista, the 2007 Microsoft Office system, and the Web. In addition, it will continue in the Microsoft tradition of development language innovation. To enable early feedback, this page provides links to prerelease versions of Visual Studio 2008, and for technologies that we plan to include in it. As previews of additional technologies become available, we will make them available from this page.

We encourage you to download and try these early releases. Before installing a release, review the prerequisites as some releases may require additional software prior to installation. As with all prerelease software, we encourage you only to install these on a secondary machine, or in a virtual machine, as they are not supported by Microsoft Services support teams. As the goal of these previews is to gather feedback from the developer community, please use Microsoft Connect to report any issues, or to suggest improvements.

Installation Disc Images

If you prefer to install the software yourself, you can download separate disc images for the following products:

IMPORTANT:

  1. After the Beta 2 installation has finished, you should run this script to ensure that the installation of .NET Framework 3.5 Beta 2 will not affect the development of ASP.NET AJAX 1.0 applications.
  2. To install Team Foundation Server, you must follow the steps and system requirements details on the download page.
  3. When installing prerelease software, we advise that you do not install it on a production machine.

VPC Images

If you prefer the convenience of evaluating prerelease software in a virtual machine environment, you can download VPC images for the following products that include pre-installed instances of the prerelease software indicated, including any required prerequisite software. You will need Virtual PC or Virtual Server to run this image. Depending on your hardware, the download files make take between 30-60 minutes to decompress these self-extracting files.

IMPORTANT:

  • After extracting and opening the VPC, you should run this script to ensure that the installation of .NET Framework 3.5 Beta 2 will not affect the development of ASP.NET AJAX 1.0 applications.

Visual Studio Express Editions

Visual Studio Express Editions are lightweight, easy-to-use and easy-to-learn tools for the hobbyist, novice and student developer.

Enjoy. :)

© 2009 - 2011 JustinLee.sg Suffusion theme by Sayontan Sinha
Stop SOPA!

SOPA breaks our internet freedom!
Any site can be shut down whether or not we've done anything wrong.

Stop SOPA!