VS11 Beta: Will NUnit (or xUnit etc.) Unit Tests be selectable in the Associated Automation dialog box?

Answered VS11 Beta: Will NUnit (or xUnit etc.) Unit Tests be selectable in the Associated Automation dialog box?

  • Thursday, March 08, 2012 11:35 AM
     
     

    Hi,

    I have been dabbling with the Unit Test adapters in VS11. I have installed NUnit (by hand, without NUget) and created some NUnit Unit Tests that work fine. I was expecting to be able to associate those NUnit tests as 'Associated Automation' within a TFS 2011 WorkItem but the NUnit methods do not appear in the Associated Automation dialog box (although I am mentioning NUnit here, I really mean *ALL* unit tests supported via the new adapter extensibility).

    With the current VS11 Beta, should I be able to assign NUnit tests to the Associated Automation of Work Items? If not, is there any plan to support this in the RTM?

    Grey Ham


    Blog: http://www.havecomputerwillcode.com/blog

All Replies

  • Friday, March 09, 2012 4:42 AM
     
     Answered

    Thanks for trying out VS11 and providing us feedback. 

    Below are the scenarios that works for all test adapters:

    1.      Running tests from VS IDE.

    2.      Running tests using the new command line runner – vstest.console.exe

    3.      Running tests in TeamBuild –Nightly Runs.

    More details here on MSDN.

    And below are the features that works only for MS-Test based tests: 

    1.      Associateautomation to a test case present in TFS.

    2.      Importing tests to TFS using TCM.exe.

    3.      Running testsfrom Microsoft Test Manager.

    4.      Running tests using test agent/test controller setup.

    As the new extensibility model is more TDD focused, the scenarios around functional testing didn’t make it. Though this is in our backlog, it is pretty low in our list.


    • Marked As Answer by Grey Ham Friday, March 09, 2012 8:44 AM
    •