title: Codeception's Autoload class doesn't autoload
body: <p>I'm trying to autoload a bunch of helpers into a test suite. The helpers are located in a folder outside of the test suite in the hopes that I can reuse them across multiple projects if needed.</p>
  <p>This is pretty much what I have:</p>
  <pre><code>- helpers
      - TestHelper.php
  - tests
      - _data
      - _output
      - _support
          - _generated
          - Helper
              - Integration.php
          - IntegrationTester.php
      - integration
      - bootstrap.php
      - integration.suite.yml
  - vendor
  - codeception.yml
  </code></pre>
  <p>This is the bootstrap file</p>
  <pre><code>// bootstrap.php
  
  &lt;?php
  
  \Codeception\Util\Autoload::addNamespace( &quot;awesome\helpers&quot;, __DIR__ . &quot;../helpers&quot; );
  </code></pre>
  <p>This is the global config file:</p>
  <pre><code>// codeception.yml
  
  bootstrap: bootstrap.php
  namespace: main
  paths:
      tests: tests
      output: tests/_output
      data: tests/_data
      support: tests/_support
      envs: tests/_envs
  actor_suffix: Tester
  extensions:
      enabled:
          - Codeception\Extension\RunFailed
  </code></pre>
  <p>This is the integration suite's config file:</p>
  <pre><code>// integration.suite.yml
  
  actor: IntegrationTester
  modules:
      enabled:
          - \awesome\helpers\TestHelper
          - \main\Helper\Integration
  </code></pre>
  <p>This is the TestHelper:</p>
  <pre><code>&lt;?php
  
  namespace awesome\helpers;
  
  class TestHelper extends \Codeception\Module{
  
     public function sayHello() {
        return &quot;Hello&quot;; 
     }
  
  }
  </code></pre>
  <p>As soon as I do <code>codecept run</code>, I get the following error:</p>
  <blockquote>
  <p>Module \awesome\helpers\TestHelper could not be found and loaded</p>
  </blockquote>
  <p>I'm not posting any tests because it's irrelevant, the error is raised before any test is performed as it's a config issue.</p>
  <p>From what I understand, the global config file should run the bootstrap file before the tests are run, and the Autoload class in the bootstrap file should load the helpers in the <code>awesome\helpers</code> namespace, but that's clearly not happening. What am I doing wrong?</p>