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 249970 - Errors while executing surefire tests in maven project do not appear in TestResultWindow
Summary: Errors while executing surefire tests in maven project do not appear in TestR...
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 10:47 UTC by markiewb
Modified: 2015-07-08 15:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the difference (37.29 KB, image/png)
2015-01-23 10:47 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2015-01-23 10:47:04 UTC
Created attachment 151635 [details]
Shows the difference

See screenshot. The output says 4 errors, but no errors are shown in testresults.


cd C:\seu\xxxx; JAVA_HOME=C:\\XXX\\Java\\jdk8 M2_HOME=C:\\seu\\maven\\apache-maven-3.0.5 cmd /c "\"\"C:\\seu\\maven\\apache-maven-3.0.5\\bin\\mvn.bat\" -Dtest=xxx.xxx.xxx.xxx.xxx.mdi.**.*Test -Dmaven.ext.class.path=C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar -Dfile.encoding=utf-8 --batch-mode -B -DskipGwtCompile -Dgwt.draftCompile=true surefire:test\""


Product Version: NetBeans IDE Dev (Build 201501190001)
Updates: Updates available
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 Theofanis Oikonomou 2015-03-02 16:42:33 UTC
I will be needing some more info to understand why this is happening. From the right part of your screenshot I cannot make much about the test directories or test cases structure. Also, could you please rerun your tests and attach the log file and the contents of the output window? Ideally attaching a sample project replicating your actual project's structure will greatly assist me. Thank you
Comment 2 markiewb 2015-03-02 18:55:17 UTC
(In reply to Theofanis Oikonomou from comment #1)
> I will be needing some more info to understand why this is happening. From
> the right part of your screenshot I cannot make much about the test
> directories or test cases structure. Also, could you please rerun your tests
> and attach the log file and the contents of the output window? Ideally
> attaching a sample project replicating your actual project's structure will
> greatly assist me. Thank you

I will give it a try, when I am back at work at the end of the week.
Comment 3 Theofanis Oikonomou 2015-07-08 15:01:00 UTC
(In reply to markiewb from comment #2)
> 
> I will give it a try, when I am back at work at the end of the week.

no feedback until now. I am marking this as incomplete for now. Please reopen if the problem still exists, providing the requested info. Thank you