Ian Dallas
Ian Dallas

Reputation: 12741

Adding Generic Test Cases to TFS in C#

So I'm trying to find a way in which I can insert new generic test cases into TFS through C#. These are the same ones that you can create in Visual Studio so I was hoping there was someway to do this with the TFS API somehow. Any hints of suggestions are greatly appreciated.

Thanks!!

Upvotes: 0

Views: 1888

Answers (2)

Ryan Cromwell
Ryan Cromwell

Reputation: 2613

The key difference Ewald is pointing to is that there are Test Case Work Items (logical sets of tests you need to execute as a piece of recorded work) and physical tests that can verify behavior. Generic Test is a artifact that executes another tool and verifies the rseults of that other tool. It really has little direct relationship to TFS. These are things you add to a Visual Studio Test Project and can, but are not required to, place in source control (TFS or otherwise).

You can likely you can use an existing Generic Test file as your template for automating this process if you have the need.

Upvotes: 1

Ewald Hofman
Ewald Hofman

Reputation: 12668

Follow these instructions http://www.ewaldhofman.nl/post/2009/12/11/TFS-SDK-2010-e28093-Part-5-e28093-Create-a-new-Test-Case-work-item.aspx to create a new test case work item to TFS.

Upvotes: 0

Related Questions