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 221984 - Unable to test individual file in Maven project
Summary: Unable to test individual file in Maven project
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 16:56 UTC by javydreamercsw
Modified: 2012-11-19 08:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (99.35 KB, text/plain)
2012-11-12 16:56 UTC, javydreamercsw
Details
Sample project (244.84 KB, application/x-java-archive)
2012-11-12 16:56 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-11-12 16:56:20 UTC
Product Version = NetBeans IDE Dev (Build 201211120001)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_10-ea
Runtime = Java HotSpot(TM) Client VM 23.6-b04

If I right click the class and select test file I get a ClassNotFoundException. Even if I compiled the project.

See attachment for sample project.
Comment 1 javydreamercsw 2012-11-12 16:56:23 UTC
Created attachment 127646 [details]
IDE log
Comment 2 javydreamercsw 2012-11-12 16:56:55 UTC
Created attachment 127647 [details]
Sample project
Comment 3 javydreamercsw 2012-11-12 16:57:13 UTC
I need to test the whole project to make it work.
Comment 4 Milos Kleint 2012-11-16 09:25:48 UTC
the ide log doesn't contain any ClassNotFounds.. please attach it to the issue. Have you used a standard build?
additionally I'm able to test the file without problems. The CompileOnSave ant based build is triggered and the test window is populated for me.. only right after startup when scanning is taking place, the test is only scheduled  (and progress status bar appears) and waits for the scanning to finish (that's issue 214855)
Comment 5 javydreamercsw 2012-11-16 14:26:22 UTC
It was a Maven project. Seems it was an intermittent issue since it seems to work properly on recent builds.
Comment 6 Milos Kleint 2012-11-19 08:46:06 UTC
ok, closing as worksforme, please reopen if you find reproducible steps. thank you.