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.
Summary: | No way to declare test deps without including module in final ZIP | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Harness | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jglick |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | Other | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | The skeletal suite |
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. 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. Reporter agrees the behavior is acceptable. |
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.