测试ClickOnce应用程序 [英] Testing ClickOnce Applications

查看:73
本文介绍了测试ClickOnce应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您将使用哪种方法在多个用户之间测试ClickOnce应用程序的新版本(与当前版本并列)?是否有任何最佳做法(特别是因为应用程序依赖于不同的服务器来运行SQL / Web服务的实时/测试版本等)。

What method would you use for testing a new version of a ClickOnce application (side by side with the current version) amongst multiple users? Are there any best practices (especially as the applications depend on different servers for the live/test versions of SQL / web services etc).

我们使用内部DNS进行设置 http://application.ourdomain.test 网站来测试基于Web的应用程序。从地址栏中显而易见,您已登录到测试站点,而只是更改了连接字符串,以强制该部署连接到我们的测试SQL Server。有什么办法可以近似?

We use internal DNS to set up http://application.ourdomain.test sites to test web based applications. It's obvious from the address bar that you're logged into a test site and it's just a change to the connection string to force that deployment to connect to our test SQL server. Is there any way to approximate this?

推荐答案

对于ClickOnce部署测试,我们设置了一些虚拟机,并让测试人员使用远程桌面。 VM桌面背景为丑陋的颜色,并用大胆的红色字母说 TESTING。

For ClickOnce deployment testing, we set up a few virtual machines and have testers connect using remote desktop. The VM desktop backgrounds are an ugly color and say "TESTING" in big bold red letters.

此外,如果用户要执行以下操作,我们所有的应用程序都会显示警告消息连接到生产数据库以外的任何对象。

Also, all of our applications display a warning message if the user is about to connect to anything but the production database.

这篇关于测试ClickOnce应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆