I setup some parameters on TeamCity
, so I can run different tests.
Basically I append the parameter to the included section on NUNIT build step
.
Question is,
- can I get that
parameter value
so that I can use it in my code? (Based on the parameter value I have a switch statement to select a particular URL to use in test).
I've tried string url = TestContext.Parameters["URLCODE"]
but no luck.
Is this possible? I see the parameter in the NUNIT commandline.
Thanks in advance.
Dave
I've looked all over the internet and cant find the answer.