This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232706 - Record test results during Maven project rebuild
Summary: Record test results during Maven project rebuild
Status: REOPENED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 12:06 UTC by pekarna
Modified: 2016-07-10 20:41 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2013-07-15 12:06:19 UTC
With a Maven project, currently, the test results are only detected when explicitely asked to - i.e. "Test project", "Test file" etc.

However, the default action for "Build" and "Clean and Build" is "install", respectively "clean install". This runs tests as well.

My suggestion is to recognize the test results for any build which produces them - i.e. any action after which the surefire .xml files appear.

That way, users would not have to run "Test project" just to get the results in the nice IDE UI.
Comment 1 Milos Kleint 2013-07-15 12:18:22 UTC
the problem with test results window is that it steals focus from the output window. That's why it's only implemented for explicit Test related actions.
Comment 2 markiewb 2013-09-11 19:16:42 UTC
(In reply to Milos Kleint from comment #1)
> the problem with test results window is that it steals focus from the output
> window. That's why it's only implemented for explicit Test related actions.

How about fixing the issue "test results window ... steals focus"?
Comment 3 Martin Balin 2016-07-07 08:39:34 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 4 markiewb 2016-07-10 20:41:09 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)