visual-studio-2010 - 在 Azure 中构建 Team Foundation 服务和测试?

标签 visual-studio-2010 visual-studio azure tfs azure-devops

我想在 Azure 中运行一些集成测试。我无法在 TFServices 中运行它们,因为它们需要数据库。我想知道是否可以将我的项目推送到 TFS,让 TFS 构建解决方案并将其推送到 Azure,然后让 Azure 在将其投入生产之前对测试数据库运行一些测试。管道中的任何失败都会填充回 Visual Studio。这有可能吗?

最佳答案

if it would be possible to push my project up to TFS, have TFS build the solution and push it to Azure

是的,这是可能的。

and then have Azure run some tests against a test database before committing it to production

嗯,这是不可能的。

Any failures along the pipeline populate back to visual studio

这是在梦境世界中。唯一可行的解​​决方案是让测试创建的工作项失败。但是重新填充到 Visual Studio 是一个梦想。

返回在提交生产之前让 Azure 对测试数据库运行一些测试

当您想要从 TF Services 运行集成测试时,您面临的问题到底是什么?这只是 SQL Azure 防火墙问题还是其他问题?你尝试过吗?结果如何?如果这只是一个防火墙问题,您很可能可以通过在测试初始化​​阶段使用一些自定义代码来缓解 - 例如禁用 SQL Azure 服务器的防火墙,然后在测试拆卸阶段再次启用它。

关于visual-studio-2010 - 在 Azure 中构建 Team Foundation 服务和测试?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16406377/

相关文章:

visual-studio - 为什么我在 Visual Studio Debug Memeory 窗口中只能在 0x70000 之前的任何地址看到 "??"?

c++ - 未解析的外部 C++,默认构造函数

c++ - 在 VS 2013 中使用空格键提交 C++ Intellisense 建议

c# - 如何使用 Global.asax 来使用 Local_resources?

azure - 创建 Azure 运行方式帐户以实现自动化

C# 快捷方式或速记 getter setter

visual-studio-2010 - 如何附加到在 Windows Phone 模拟器中运行的应用程序?

c# - 无法找到与 'Microsoft.Azure.WebJobs' 兼容的版本

Azure 和 VS2017 订阅

azure - Azure isSoftDelete false/true 值是如何确定的?