I am using IntelliJ to write some integration tests.

Project Structure:
------------------

```
/src
  /main
    /java
      /com.myCompany
        /dir
          /email
  /test
    /com

```

Over time, I will be writing unit, integration, and performance tests. However, I’m confused about how I should structure my directories for testing. I also don’t understand how package naming relates to testing. For instance, I’ve created a basic test that looks like the following:

```
package com.myCompany.dir.email;

import junit.framework.TestCase;
import org.junit.Test;

public class EmailTest extends TestCase {

    private final String username = “[testAccount]”;

    private final String password = “[testPassword]”;

    @Test
    public void thisAlwaysPasses() {
        assertTrue(true);
    }
}

```

Unfortunately, I can’t even get that test to run. I get errors ranging from:

```
Error running All unit tests: Package not found in directory

```

to 

```
No tests found.

```

Any insights are much appreciated.