Skip to content
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

Ability to parse all file matching a pattern #30

Open
cyberguard opened this issue Nov 30, 2021 · 0 comments
Open

Ability to parse all file matching a pattern #30

cyberguard opened this issue Nov 30, 2021 · 0 comments

Comments

@cyberguard
Copy link

We are using the ci_reporter gem ( https://github.com/ci-reporter/ci_reporter_rspec ) with parrelle:spec (https://github.com/grosser/parallel_tests) which generate individual JUnit result file under the spec/reports directory.

The list of files is dynamic, based on the test name (i.e. when someone add a new spec file a new xml file pops up).

Currently there is no way to easily as for all file matching a pattern to be processed. File need to be listed out explicitly.

cyberguard added a commit to cyberguard/danger-junit that referenced this issue Nov 30, 2021
In Dangerfile, simply have

junit.parsePattern "spec/reports/*.xml"

to load all xml file in the given directory

orta#30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant