I made a module with .inc file witch contains a class. When I made an object in test case the system didn't find my class. (When I made an object in .module it worked well)
How reproduce this bug:
1. Install a fersh 8.x drupal with minimal profile.
2. put the test module in the sites/all/modules directory.
3. Enable core testing and test module.
4. Run test testcases.
You will see a following:

5. delete second line (new foo()) in the .module file
You will see the problem:

| Comment | File | Size | Author |
|---|---|---|---|
| Kijelölés_022.png | 25.21 KB | pp | |
| Kijelölés_021.png | 107.79 KB | pp | |
| test.tar_.gz | 498 bytes | pp |
Comments
Comment #1
damien tournoud commentedYou want to enable the module you want to test, by passing it as an argument to
parent::setUp().Comment #3
pp commentedThank you!