vstest.console.exe – CommandLine Test Runner

As we know, the unit testing tools has been completely revamped in Visual Studio 2011. One such component is the new command line runner – vstest.console.exe What is it ? new command line test runner “vstest,console.exe” which would run tests written against any test framework – MSTest framework, Nunit, Xunit and so on. Where can…

0

Authoring a new Visual studio unit test adapter

    Visual studio 11 Beta unit test framework provides a way to plug-in third party test runners and run their tests right inside VS IDE. Here are the list of test adapters that are already available for download. In this post, let’s quickly go through the steps involved in writing a new test adapter. Components of…

2

Running Windows 8 Metro style tests in TeamBuild

Visual Studio 11 Beta was announced a week back along with Win 8 consumer preview. Unit testing has been redefined in a more framework agnostic way in Visual Studio 11. Refer our MSDN articles and introductory post to get started with it and expect more posts from us in the coming weeks. Today, let’s quickly…

0

TestContext folders explained

  One of the FAQ around MSTEST is on the folders exposed by TestContext. What each of them means and which one to use when. Below is a quick summary of the various folders and their usage.   TestRunDirectory (TestDir) Indicates the high level folder created for the current test run. This would have “In”…

0

Test agent, Test Controller and MSTEST FAQ

MSTEST: 1. Do I need to install full VS to use MSTEST? Is there any light weight option? You need not have full VS to bring in MSTEST. Test agent is a light weight option to bring in MSTEST. Refer to the below link for details: http://blogs.msdn.com/anutthara/archive/2009/12/16/running-tests-in-mstest-without-installing-the-vs-ide.aspx 2. Does MSTEST work for 64 bit binaries?…

0

Lab Build agents – How it works

The Lab management end-to-end workflow works leverages the Team Foundation Build Agent/Build Controllers to do the deployment. Given that build agent is primarily targeted for compiling sources, a getting-started user will get a bunch of questions : a) How does the build agent inside a lab environment work ? b) Can I use the build…

0

Creating a bug when test fails in E2E

In one of the earlier post, we saw how to customize the E2E workflow to automatically create a bug on hitting a test failure. This post enhances the scenario further by taking a snapshot of the environment after the test run and attaching a link to the snapshot to the newly created bug. Attached is…

0

Creating a bug on test failure ….

One of the common requirement while running E2E build is to log a bug automatically when the test run fails. It is very simple to achieve this functionality by customizing the workflow. Lets go through the steps for the same : 1.Make a copy of “labdefaulttemplate.xaml ” and check-in the new xaml. This post talks…

0

What’s new in E2E in RC

Visual Studio 2010 Release Candidate (RC) was made available for public download yesterday (Feb 10th) and here is our team’s blog on “What’s new in Visual Studio Lab management for RC”. In RC we have made tremendous changes with respect to agent user accounts and getting your first lab environment up and running. And this time…

0

Deployment scripts and Machine names

In a typical nightly build scenario involving a multi tier app, the deployment and test scripts running on one tier might need the machine name of the other tier. Example: To provision IIS account on SQL, the computer name of the web tier need to be passed to the scripts that will be run on…

0