maven-surefire
maven-surefire copied to clipboard
[SUREFIRE-2298] fix xml output with junit 5 nested classes
Signed-off-by: Olivier Lamy [email protected]
Following this checklist to help us incorporate your contribution quickly and easily:
- [ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
- [ ] Each commit in the pull request should have a meaningful subject line and body.
- [ ] Format the pull request title like
[SUREFIRE-XXX] - Fixes bug in ApproximateQuantiles, where you replaceSUREFIRE-XXXwith the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Run
mvn clean installto make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [ ] You have run the integration tests successfully (
mvn -Prun-its clean install).
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004 you have to acknowledge this by using the following check-box.
-
[ ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
-
[ ] In any other case, please file an Apache Individual Contributor License Agreement.
Hi @olamy
you might be able to see progress there https://github.com/apache/maven-surefire/pull/828
But... is there any?
Hi @olamy
you might be able to see progress there #828
But... is there any?
yup sorry been busy with other stuff.
I'm thinking of possible quick fix which is something more dynamic here https://github.com/apache/maven-surefire/pull/815/files#diff-38e379eb63d7dcd2deb45902b4a494517e4ce54c29913bcf74e7d9243ebb7011R2077
Switching this flag may fix the current issue
Hello everyone, is there an ETA for this fix?
Resolve #2601
I have actually reverted the change (well make this happening only for parallel execution) But even if test number is fine but even with 3.5.2 or even now, generated XML files are/were not correct (there are 3 instead of 2 with the added test with this PR).
Sorry for the delay, winter here, so finally back on this. Some progress. Last changes should have fixed the problem, but I need to check what else I just broke :)
Thanks for the time and effort you're putting into this!
Is it worth including a test case that specifically targets a Cucumber BDD test case to verify if https://github.com/cucumber/cucumber-jvm/issues/2984 is covered by the fix, once working?
Oh yeah. we might be finally good now :) it took a while but finally managed to work on this. Sorry for delay
The faulty m-sf-p ran cucumber tests fine, but didn't produce expected summary.
I see cucumber test was added, but I can't see its build output to be verified for expected result. Does the new test fail without other changes in this PR? Or would it pass then (with 3.9.3) just like now (hence not providing new check)?
The faulty m-sf-p ran cucumber tests fine, but didn't produce expected summary.
I see cucumber test was added, but I can't see its build output to be verified for expected result. Does the new test fail without other changes in this PR? Or would it pass then (with 3.9.3) just like now (hence not providing new check)?
build output not verified? you sure?
https://github.com/apache/maven-surefire/pull/828/files#diff-b64af33c9a98c2d43c52cfca7f3bb89af9a833feae8489c0738560350c4592caR55
The faulty m-sf-p ran cucumber tests fine, but didn't produce expected summary. I see cucumber test was added, but I can't see its build output to be verified for expected result. Does the new test fail without other changes in this PR? Or would it pass then (with 3.9.3) just like now (hence not providing new check)?
build output not verified?
https://github.com/apache/maven-surefire/pull/828/files#diff-b64af33c9a98c2d43c52cfca7f3bb89af9a833feae8489c0738560350c4592caR55
Thanks!
you sure?
No. I said I could not see this. And now I do.
@olamy The PR can't be associated to a milestone, because there are multiple open milestones. Please add the text "branch: master" to the description to the milestone where this PR belongs to.
When is the new release coming out? I have a PR open that I want to merge once the release is out: https://github.com/jesperancinha/jeorg-spring-test-drives/pull/890
When is the new release coming out? I have a PR open that I want to merge once the release is out: jesperancinha/jeorg-spring-test-drives#890
will be soon: https://lists.apache.org/thread/r905v9hrvz34f5t3vzbvnd64fbvpb1no