That's a pretty general question. We might need a wee bit more info: what type of testing, what type of application, what sort of test environment, etc.?
Short answer: One way would be to set up a virtual machine (VM) on you rPC that emulates the server you'll be deploying the actual app on, and then test it in that VM.