[jbosstools-issues] [JBoss JIRA] (JBIDE-22460) Test classes should be in the same package as the class(es) under test

Fred Bricon (JIRA) issues at jboss.org
Mon May 30 09:46:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244797#comment-13244797 ] 

Fred Bricon commented on JBIDE-22460:
-------------------------------------

I'm all for it, if only to be able to use [moreunit|http://moreunit.sourceforge.net/], However the big caveat is testing package protected methods doesn't work with OSGi projects, for some reason. Unless I missed something. It might work when using fragments, but I'm not sure.

> Test classes should be in the same package as the class(es) under test 
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-22460
>                 URL: https://issues.jboss.org/browse/JBIDE-22460
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha2
>            Reporter: Jeff MAURY
>            Priority: Minor
>              Labels: test
>             Fix For: 4.4.x
>
>
> Test classes should be in the same package as the class(es) under test as it is a generally admitted pattern and as it allows to use package protected classes/methods



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list