简体   繁体   English

VSTS测试代理未作为X64位进程运行测试版本,显示“不存在匹配测试”错误

[英]VSTS test agent is not running test build as X64 bit process, “no matching test is present” error is being displayed

We are running these test as part of VSTS pipline on Azure VM, test agent get deployed successfuly but run function test task fails. 我们正在将这些测试作为Azure VM上VSTS pipline的一部分运行,测试代理已成功部署,但运行功能测试任务失败。 we are building whole solution containing test solution as x64 bit 我们正在构建包含测试解决方案作为x64位的整体解决方案

Refer to these steps and check the result: 请参考以下步骤并检查结果:

  1. Create a runsettings file (xml file) to specify TargetPlatform 创建一个运行设置文件(xml文件)以指定TargetPlatform

Code: 码:

<?xml version="1.0" encoding="utf-8" ?> 
<RunSettings> 
  <RunConfiguration>
    <ResultsDirectory>.\TestResults</ResultsDirectory>
    <TargetPlatform>x64</TargetPlatform>
  </RunConfiguration>
 </RunSettings>
  1. Add it to source control 将其添加到源代码管理
  2. Specify that file for Run Functional Tests step. 为“运行功能测试”步骤指定该文件。

在此处输入图片说明

Update: 更新:

These are my build steps: 这些是我的构建步骤:

  1. Visual Studio Build Visual Studio构建

在此处输入图片说明

  1. Windows Machine File Copy Windows机器文件复制

在此处输入图片说明

  1. Visual Studio Test Agent Deployment Visual Studio测试代理部署
  2. Run Functional Tests 运行功能测试

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM