Menu

#6 (Re-)Enable tests for protected methods

open
7
2002-11-06
2002-11-06
No

If the TestCases and TestSuites are written to the
same package (the option -subpackage is not used)
there should be an option to enable tests for classes
and methods with visibilitys "package" and "protected".

Note: This was enabled before the -subpackage
option was introduced. Since it was never used until
then (and JUnitDoclet did not have many users) it
was removed for simplicity. Now the users want it.

If you can't wait, please derive your own TestingStrategy
from DefaultTestingStrategy and overwrite
isTestableClass and isTestableMethod.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.