Organization of JUnit tests in projects

I use a separate but parallel package structure for several reasons.

  1. It keeps tests organized the same way as the application code.
  2. I can easily build just the application files for distribution.
  3. Test code still has access to my application code.
  4. It’s not as cluttered as having test code mixed with application code.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)