Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法使用 TFS 2015 vNext 构建为 UWP 运行 xUnit 测试?我尝试使用以交互模式运行的本地构建代理来执行此操作。当需要进行测试时,UWP 测试应用会运行,但未发现任何测试。是否支持运行此测试?
是的,假设您已经通过 Nuget 安装了 xunit,并且您的包位于源文件夹的根级别,您只需将自定义测试适配器的路径设置为您的包文件夹。
就我而言:$(Build.SourcesDirectory)\packages- 根据需要进行调整。
$(Build.SourcesDirectory)\packages