Include Unit tests in the same package as the source code in Java
        Posted  
        
            by TheDelChop
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by TheDelChop
        
        
        
        Published on 2010-05-24T16:30:04Z
        Indexed on 
            2010/05/24
            16:41 UTC
        
        
        Read the original article
        Hit count: 285
        
Guys,
I'm getting back into Java after a long stint in the Ruby world and I've got a question about JUnit tests and the source I'm testing.
If I've got a package of graphics code for my company, lets call it com.example.graphics, should I include my tests in that package too or should they be included in a seperate package, like com.example.graphics.test?
Thanks,
Joe
© Stack Overflow or respective owner