Why don't you put it next to your test classes? The usual way is to put all the test code in a directory separately from the source directory (for example, "test"). That is, not only the test cases themselves, but also auxiliary classes, such as utilities, breadboard implementations, etc.
Testing should be carried out in the same package as the class they tested (but in a different physical directory, as described above). The test utility class, which is used by several test cases, should be placed in some common utility package.
source share