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 178481 - No way to declare test deps without including module in final ZIP
Summary: No way to declare test deps without including module in final ZIP
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: Other Linux
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 06:56 UTC by Jaroslav Tulach
Modified: 2013-01-10 08:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
The skeletal suite (14.20 KB, application/zip)
2009-12-11 06:56 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-12-11 06:56:29 UTC
Created attachment 92417 [details]
The skeletal suite

If I create module suite (uses only platform cluster) and put there one module with a NbJUnitTest I seem to have problem:

Either the test cannot be compiled (it does not see NbJUnit, as it is in disabled cluster). Just invoke the Test All on the suite to see the error.

Or I can add harness as my enabled cluster, but then it gets (fully) included in my final application. That is annoying, I am not using anything from that (big due to cobertura binaries) cluster. So no harness shall be included in my application.

I am attaching the skeleton of my empty suite with a test.
Comment 1 Jesse Glick 2009-12-11 08:35:12 UTC
There is no mechanism for using modules only as test dependencies and not being part of the suite. We could consider adding one, though I would rather recommend you use Maven which deals with this better.
Comment 2 Jaroslav Tulach 2009-12-11 08:54:27 UTC
Ok, I rechecked the problem. Originally the cobertura JARs were included in spite I did not want to use them, but I guess I had to do something wrong, now (when I check just nbjunit and insane), cobertura is not in the ZIP.

This is acceptable, nbjunit is not that big by itself.
Comment 3 Jaroslav Tulach 2013-01-10 08:20:39 UTC
Reporter agrees the behavior is acceptable.