Closed fhbonfante closed 10 months ago
Thank you for bringing this to our attention!
I wonder if including the custom-parameters parameter in the test job would be a better approach. It will allow users to insert any additional flags they deem necessary. Such a parameter only exists in the build
job at the moment.
Thoughts?
Good morning @EricRibeiro ! Thank you for the reply! Custom parameters seens pretty good to me and more flexible! It would be something like this:
custom-parameters: -testFilter "a;b;c" -assemblyNames "a;b;c" -testCategory "a;b;c"
@fhbonfante, the latest version of the orb has the new parameter available. Let me know what you think!
Describe Request
I would like the ability to run my tests with filters, using testFilter, assemblyNames or testCategory from unity test framework command line arguments.
This way I could have distinct workflows where I run different test chunks based on what changed.
Suggested solution
Would be nice to have a parameter on orb like:
Note the 3 parameters that currently does not exists: test-filter, test-category and assembly-names
And the command executed by the job would be like:
Currently the test command is executed hard coded from the shells on each OS. Possibly need to extract this to outside and enable to pass parameters to it.
Additional details
Unity test framework testFilters Unity test framework assemblyNames Unity test framework testCategory