Is there even a standard convention for this? I see a lot of different and perhaps misguided package naming that is very mixed in some projects and thus is never consistent:

Let's say I want to write unit tests for something that falls under the 'stuff' package.

 com.company.product.amodule.submodule.stuff

The unit test could be one of these possibilities (or even somewhere between):

  • com.company.test.product.amodule.submodule.stuff
  • com.company.product.amodule.submodule.stuff.test
Edit
Report