My setup is Visual Studio 2015 with the gtest test runner
Everything works fine. But now I want to pass command line arguments to
int main(int argc, char **argv) {..}
When debugging I can pass them with Properties->Debugging->Command Argument. That works fine.
I can run the test with Test->Run->Selected Test but how can I pass the command line arguments to the test? It's not taking over the debugging Command Arguments.
Aucun commentaire:
Enregistrer un commentaire