I've got a suite of about 20 tests that I run on my Development server. I'd like an easy way to switch over to the Alpha server and run those same 20 tests. But I don't want to run them on all servers every time. Typically I'd run the tests on Dev until they are all green, then roll code to Alpha, run tests, etc. Many iterations on Dev, a few on Alpha, then in theory one run on every server up the stack to Release.
The way this is accomplished now is with a variable in the TestFixture. That's all fine -- but requires a rebuild every time I want to change environments. But I saw a menu for Configurations and I thought this would be nifty to use. Add a configuration for each environment, point to that configuration, run tests and they run on the correct server. There's some smelly hardcoding in there: assuming that the name of the environment would have to match up with the name of the target test environment. I can live with that.
First question: is there a better way to do this? Second question: is this even possible? I'm not able to find a way to read those Configurations at the TestFixture level.