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 270165 - Exclude specific warnings for test packages.
Summary: Exclude specific warnings for test packages.
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2017-03-22 10:51 UTC by in-ws5
Modified: 2017-03-22 10:51 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description in-ws5 2017-03-22 10:51:13 UTC
In my java project, i have source packages and test packages. I have but one ruleset that can be applied on both when it comes to editor hints/warnings.

But some warnings aren't relevant for the scope of testpackages. 

Example: exporting non-public type through public API. This warning is completely irrelevant in my case, as my test packages aren't published in my business case.

In netbeans Options -> Editor -> Hints, I would like to see at least under Java, some method for configuring hints specifically for source packages and specifically for test packages, and hints in general.