- changed title to Test coverage color codes not showing after moving files in to a sub folder
- edited description
Test coverage color codes not showing after moving files in to a sub folder
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)
-
Account Deactivated reporter -
Account Deactivated reporter - edited description
-
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 markcore/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. -
repo owner - changed status to resolved
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.
-
Account Deactivated reporter @scott wells , please let me know how to configure source root.
-
repo owner Use Illuminated Cloud>Configure Module and then click on the Project Structure tab. You should see something like the following:
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. -
Account Deactivated reporter Working now. Thanks Scott!
-
repo owner That's great! Thanks for letting me know.
-
repo owner - changed component to Apex Unit Testing
- Log in to comment