tfs2018

How to associate a XUnit Fact to a Test Case in TFS

吃可爱长大的小学妹 提交于 2019-12-07 12:21:02
问题 I am trying to figure out how to associate a Test Case in TFS 2018 to a Xunit Fact in a .Net Core project. If i click on the XUnit Fact in the Visual Studio 2017 Test Explorer, the association option is disabled. Does anyone know how to associate a Xunit Fact to a Test Case in TFS? 回答1: There is a Rest API could update work item filed. For example: PATCH https://servername:8080/tfs/DefaultCollection/_apis/wit/workitems/[testcaseid]?api-version=1.0 Content-Type: application/json-patch+json

TF400856: The following service is not registered in the database: IdentityManagement

≯℡__Kan透↙ 提交于 2019-12-06 06:45:31
问题 I'm running On Premise TFS 2018 Update2, and i'm trying to migrate to TFS online. I'm at the point where i need to make a dacpac of my collection, and in order to do that i need to detach my collection like they outline here: https://docs.microsoft.com/en-us/tfs/server/admin/move-project-collection?view=vsts#detach-coll when i try to detach however, i get the error in the title. Any ideas how to get past this? The only thing i've found similar to this issue is at: https://social.msdn

How to associate a XUnit Fact to a Test Case in TFS

人盡茶涼 提交于 2019-12-05 22:43:08
I am trying to figure out how to associate a Test Case in TFS 2018 to a Xunit Fact in a .Net Core project. If i click on the XUnit Fact in the Visual Studio 2017 Test Explorer, the association option is disabled. Does anyone know how to associate a Xunit Fact to a Test Case in TFS? PatrickLu-MSFT There is a Rest API could update work item filed . For example: PATCH https://servername:8080/tfs/DefaultCollection/_apis/wit/workitems/[testcaseid]?api-version=1.0 Content-Type: application/json-patch+json Body: [ { "op": "add", "path": "/fields/Microsoft.VSTS.TCM.AutomatedTestName", "value": "

MSTest - Run “LoadTests” and Write Results to SQL Server Database

假如想象 提交于 2019-12-04 02:15:44
问题 If you want to configure your VS "Load Tests" to write the results to a database server, you use the following instructions. If you want to run your "Load Tests" through powershell on a separate machine(think TFS 2018 release step), you use the following instructions. I would like to do both, on multiple machines, in a automated manner, but there's not a great deal of documentation on this, I can run my tests like this: .\mstest /testcontainer:"C:\XXX\ABC.loadtest" But the results are kicked

MSTest - Run “LoadTests” and Write Results to SQL Server Database

血红的双手。 提交于 2019-12-01 12:16:57
If you want to configure your VS "Load Tests" to write the results to a database server, you use the following instructions . If you want to run your "Load Tests" through powershell on a separate machine( think TFS 2018 release step ), you use the following instructions . I would like to do both, on multiple machines, in a automated manner, but there's not a great deal of documentation on this, I can run my tests like this: .\mstest /testcontainer:"C:\XXX\ABC.loadtest" But the results are kicked out to a "TRX" file rather than being placed into a database( there is some discussion on this ).

Migrate Project to TFS2018

僤鯓⒐⒋嵵緔 提交于 2019-11-28 11:09:58
问题 I have two TFS servers - one running 2008 and the other running 2018. I need to move one project (not all) from the TFS 2008 server to the new one. I only need to migrate the source code but would like also maintain all version and checkin history. Is there an upgrade process or utility that can achieve this? Thanks 回答1: If you want to maintain all version and check-in history. The only way is upgrading TFS server 2008 with database. Direct upgrade to Team Foundation Server 2018 Update 2 is