xunit icon indicating copy to clipboard operation
xunit copied to clipboard

Pass in extra parameters to Trait attribute that can be later used in ClassData from xunit.console

Open Kwirirai opened this issue 10 years ago • 1 comments

Is there a way to pass extra parameters to Trait attribute that can be later used in ClassData from xunit.console.I would like to dynamically configure theory data in a ClassData before the test is run from the command line something like -trait "Auto=1,someId=123456" and get this in my ClassData class as someId=123456 and use that in my constructor

Kwirirai avatar Mar 16 '16 13:03 Kwirirai

Closed for age.

bradwilson avatar Nov 10 '17 08:11 bradwilson