title: Typesafe Config: Load configuration from src/test/resources
body: <p>This is a beginner question. So my app structure looks like  </p>
  
  <pre><code>src/main/java/...
  src/main/resources/application.conf
  
  src/test/java/...
  src/test/resources/module/test.module.conf
  </code></pre>
  
  <p><strong>application.conf</strong></p>
  
  <pre><code>location: mainLocation
  </code></pre>
  
  <p><strong>test.module.conf</strong></p>
  
  <pre><code>location: testLocation
  </code></pre>
  
  <p>In my test, I do  </p>
  
  <pre><code>  @Test
    public void testLoadConfig() {
      final Config config = ConfigFactory.parseResources("test.module.conf");
      System.out.println(config);
    }
  </code></pre>
  
  <p>and what I see  </p>
  
  <pre><code>Config(SimpleConfigObject({}))
  </code></pre>
  
  <p>Surely something is not right, but I can't spot it  </p>
  
  <p><strong>UPDATE</strong>  </p>
  
  <p>When I do just</p>
  
  <pre><code>  @Test
    public void testActorForFailure() {
  //    final Config config = ConfigFactory.load("test.module.conf");
      final Config config = ConfigFactory.load();
      System.out.println(config.getString("location"));
  
    }
  </code></pre>
  
  <p>I see  </p>
  
  <pre><code>mainLocation
  </code></pre>
  
  <p>So overriding is not working, why?</p>