Hi all,
I'm using NUnit Console and --test=<full_testcase_name> option to run our tests by sending all testcases explicitly via command line, e.g.:
/C <path_to_nunit_package>/nunit3-console.exe <assembly_file_path> --result=<some_path>/TestResult.xml;format=nunit2 --noheader --workers 1 --test=<testcase_fullname1>,<testcase_fullname2>, ...
Each testcase_fullname1 include "namespace", "class_name" and the actual "test_method_name". All those parameters are quite long, especially the namespace, which is fixed in our case and there is no need to specify it for each test case.
The problem is that when the command-line length hits 8192 or something characters the cmd process fails with "The command line is too long." message.
Is there a different way of passing a long list of testcases avoiding repetition of namespace parameter?
Why do I need to specify all test cases explicitly? I have a list of custom properties like "Customer", "Version", "Module", etc... I run the explore.. Then I parse testcases xml extracting/filtering all the necessary testcase names based on custom properties. Then I pass the final list of test cases to Nunit console.
Is it possible to filter testcases in NUnit Console based on custom properties? I tried using --where option + custom properties but it did not work for me.
Thanks,
Alex