csoltenborn / GoogleTestAdapter

Visual studio extension that adds support for the C++ testing framework Google Test.
Other
142 stars 101 forks source link

[QUESTION] Can <AdditionalTestExecutionParam> in RunSettings be used to pass command line arguments to the Google Test EXE? #292

Closed josephcappellino closed 5 years ago

josephcappellino commented 5 years ago

I'm looking for a way to pass arguments to my executable via the RunSettings file. Is this possible using \<AdditionalTestExecutionParam>, or by some other means?

Thanks,

Cappy

csoltenborn commented 5 years ago

Yes, it is. For a demonstration, have a look at the SampleTests solution, in particular the settings file and this file.

josephcappellino commented 5 years ago

Great! Thanks! I'll play around with it.