To test ClickOnce deployment, we configured several virtual machines and connected testers using Remote Desktop. The VM desktop background is an ugly color and says "TEST" in big bold red letters.
In addition, all of our applications display a warning message if the user is about to connect to anything other than the production database.
source share