-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code coverage error for LoggerEngineDataSelector.cls upon deployment #687
Comments
Hi @heapallocation - when you're deploying, are you deploying your own metadata? Or are you including the class |
I'm having a similar issue. I'm attempting to manually install (not using unlocked or managed) just the
I did include Are there other tests I should include that are not in core? Any advice is appreciated, thank you! |
@mGrad10 is this issue happening for you when deploying to a production org? And when deploying, are you only deploying Nebula Logger's The current challenge with those 2 classes is that some functionality can't be tested in some orgs. For example, the And just out of curiosity, what was your reason(s) for deploying the core metadata, instead of using the unlocked package? That approach is perfectly fine to use (other than the code coverage issues you're having 😅 ), but I'm always curious to hear people's thoughts behind deploying the metadata yourself (instead of using one of the packages). |
@jongpie Thanks for such a quick response! To answer your qqs:
As mentioned, I do have the unlocked version in a different sandbox with Experience sites. So, I ran
Since both my sandboxes have Experience Sites, is it possible I'm missing something? or are these just not able to be covered? Sincerely appreciate all your help, we love Nebula and very excited to use it. |
@mGrad10 thanks so much for all the info! Knowing exactly which methods are missing coverage in your org is incredibly helpful, thanks for providing that info.
When you're deploying, are you using the |
@jongpie
Regarding the EDITED since I looked into the code more....see next comment...... Hope this helps, I sincerely appreciate all your help, and quick responses! |
I looked into
I'm wondering if we can replace the MDT query in Also, can you help me understand the purpose of the |
Hi @mGrad10 thanks for all of the info! For the For the
For the
As far as the purpose of
|
Package Edition of Nebula Logger
Unlocked Package
Package Version of Nebula Logger
v4.12.9
New Bug Summary
Hi there,
I have installed the unlocked pkg in sandbox and am attempting to deploy to a prod. env. using the metadata api. I am getting a code coverage error on the LoggerEngineDataSelector.cls (screenshot below) when running the apex tests as part of the deployment. Could the code coverage please be increased if the error that I am getting is correct?
Thanks!
John.
The text was updated successfully, but these errors were encountered: