I\'ve got 2 questions about organising Unit tests.
Do I have to put test to the same package as tested class, or can I organise tests in different packages?<
Test classes should be rather in different packages, it's easier to separate them from the production code when you package it for release. I usually keep lots of test fluff in those packages, all sorts of mocks, configurations, scenarios.. But when you build - it doesn't get it. In some situations, it's a good idea to keep your testing stuff even in different projects. Depends.