-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input file(s) from glob pattern #98
Comments
The following workaround achieves what I want it to:
e.g
|
Something to investigate for sure. I've always had 'fun' with globbing, especially when sometimes it is done by the shell, and sometime by the cli tool... maybe documenting this as an example would be valuable enough to start with. |
I think your right, at this stage just having an example like this would probably cover 90% of uses. Most CI's are running bash commands. By the time this came to the top of the pile it looks like globbing might be supported by .NET There is some support for recursive seeking to match a pattern in the Directory.GetFiles() api |
Quick and dirty in powershell:
|
Imagine you have two or more test projects in a solution.
Coverlet/ vstest outputs to a guid based directory:
I can upload multiple files in one hit like this:
However, the guids change each time I output the coverage report. I still have guids, even if I centralise the files to the project root for example:
Could -i take a glob parameter?
Again I may be able to use
mv
in combination with an index to create files 1coverage.opencover.xml, 2coverage.opencover.xml ect. I would still have to add another clause to my -i argument for every time I added a new test.At this stage the best option may be recreating a file structure as such as this with
mv
so there is no concern about creating unique names.The text was updated successfully, but these errors were encountered: