Test coverage color codes not showing after moving files in to a sub folder

Issue #1536 resolved
Kai-Fan Hsieh created an issue

Hi,

I am having a issue of test coverage color codes not showing after moving files in to a sub folder. I have tried to rerun the test many times.

Please see attached file for before and after. The test coverage color codes worked when there is less number of folder nested.

Before (Working) - C:\Belong\belong-sf-common\sfdx-src\core\main\default\classes\

After (Not Working)- C:\Belong\belong-sf-common\sfdx-src\packages\core\main\default\classes\

Comments (9)

  1. Scott Wells repo owner

    It looks like you've marked the classes folder as a source root. That would be a misconfiguration if so. You'd still want to mark core/main/default as your source root. IC knows how to find things in sub-folders of a source root once properly marked. If you're not sure what I mean, let me know if and I'll provide more specific instructions on how to verify/change the source root configuration.

  2. Scott Wells repo owner

    I'm going to resolve this assuming it's a source root configuration issue and not a product issue, but if we do find that not to be the case, we'll re-open it.

  3. Kai-Fan Hsieh Account Deactivated reporter

    @scott wells , please let me know how to configure source root.

  4. Scott Wells repo owner

    Use Illuminated Cloud>Configure Module and then click on the Project Structure tab. You should see something like the following:

    Issue_1536.png

    Make sure that core/main/default is set as a Source Folder and not anything below that level. If you're unsure what to do, take a screenshot of that dialog in your project or send me your project's .iml file and I'll provide explicit directions on how to configure it.

  5. Log in to comment