Pass parameters to NUnit test Pass parameters to NUnit test jenkins jenkins

Pass parameters to NUnit test


As far as I currently know of, there is no solution to provide just that what you describe that you want. Best option is to use NUnit project files, modify settings there and pass the solution file to the runner.

On the other hand, you could try to use the Environment variable.

Use set from the command-line. Then read the value using Environment.GetEnvironmentVariable() and use that within your testmethod.