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

Test results window does not display results #4734

Closed
maffe opened this issue Oct 4, 2022 · 5 comments · Fixed by #7113
Closed

Test results window does not display results #4734

maffe opened this issue Oct 4, 2022 · 5 comments · Fixed by #7113
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix Maven [ci] enable "build tools" tests tests

Comments

@maffe
Copy link

maffe commented Oct 4, 2022

Apache NetBeans version

Apache NetBeans 15

What happened

The test results window does not show up automatically when selecting “Test” in a project’s context menu. After opening it via Window → IDE Tools → Test Results, it stays empty even when running the tests again.

How to reproduce

Create a new Maven project and select “Test” in its context menu.

Did this work correctly in an earlier version?

Yes but I don’t know the version.

Operating System

Windows 10 64 Bit

JDK

19

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

@maffe maffe added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Oct 4, 2022
@Saljack
Copy link

Saljack commented May 26, 2023

I have the same issue. I think it is connected somehow to surefire maven plugin.
This is my output:

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.something.SomeTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.61 s - in org.something.SomeTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

@sroeper
Copy link
Contributor

sroeper commented Sep 26, 2023

Can confirm the issue.

Environment: Ventura on Apple Silicon / java17 / Netbeans 19 / maven 3.8.2 / maven-surefire-plugin 3.1.2
Was the same on Netbeans 18

Seems to be a duplicate of #6181

@michaelajr
Copy link

Tested on Intel Mac and all is fine - Test Results window pops open and is populated with test results.

Tested on a Mac with Apple silicone... and I get a blank Test Results window (have to manually open it).

Maybe another issue with native build like with the profiler.

@michaelajr
Copy link

I can confirm that this is also broken in v20 - macOS w/ Apple silicone.

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests tests and removed needs:triage Requires attention from one of the committers labels Feb 26, 2024
@mbien mbien linked a pull request Feb 26, 2024 that will close this issue
@maffe
Copy link
Author

maffe commented Jun 4, 2024

#7113 did not fix this issue for me, but I noticed the problem goes away when I remove --color always from the Maven Global Execution Options in NetBeans. I opened #7441 for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix Maven [ci] enable "build tools" tests tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants