-
Notifications
You must be signed in to change notification settings - Fork 8
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
Is there a way for the report to ONLY contain the results of those using the @XrayTest, @Requirement ? #24
Comments
There's currently no logic for that. Maybe it could make sense... need additional thoughts on that. |
Hi @bitcoder , thanks :). Yeah I'm currently working with is using gradle tasks; different test tasks for integration and unit. I guess maven would use -Dgroups. So it's not an impossible issue, but would be a great enhancement! |
Ill prepare a PR whenever I have some more time. I have a proof-of-concept but requires some additional code |
Thanks again! In the meanwhile I have an example project to show how I'm using it, with the workaround in gradle tasks: |
Hi @Khanivorous and @bitcoder , today I stumbled accross the same problem: filtering xray relevant test results. My 2 cents:
What kind of PoC are you talking about? Is the merge request/code pulic available ? I would like to contribute in order to speed up things, as my company/team requires the "xray export relevance" feature |
I just pushed the branch and created a PR with it. |
I released junit-processor v0.0.6 with patch 4 that can be used to post-process the JUnit XML report. npm install -g junit-processor
junit-processor -p 4 some_junit_report.xml |
Hi @bitcoder , thank you for your code and initial thoughts about the ideas. Please let me give you my 2 cents:
"2 Types" means some kind of distinction and this more or less happening by introducing another annotation/interface (or using the existent
By introducing a post-processing, you increase complexity because you add more steps to a build life cycle (e.g. other maven plugin). In this specific case the https://github.com/bitcoder/junit-processor is not an option, because it introduces another (programming) language for the project. Bottom line: The one library solution would increases acceptance among teams/developers by supporting all requirements "out-of-the box". Fun Fact: the issue #10 is also on my company's wish list. But that is a another discussion :) I am looking forward hearing from you @bitcoder |
@bitcoder how do we proceed here ? |
I added the |
thank you very much @bitcoder as far as I can see, the release is not yet published on maven central ?! When will that happen ? |
I'm trying to run tests for a spring app and I have integration tests and "true unit" tests. I want the xray junit report to only contain details of the integration tests. I tagged the integration test methods with XrayReport but I still get new xray tests generated automatically, because the junit report file contains the results for all tests.
The text was updated successfully, but these errors were encountered: