You need to sign in to do that
Don't have an account?
Tapas Tulo
Superbadge Security Specialist Step 2 :Test Method Fails
Hi All,
Am not able to make my status Successful when run my Test Method...
Am not able to make my status Successful when run my Test Method...
PFB my screenShot
I
Thanks & Regards,
Tapas
I
Thanks & Regards,
Tapas
PFB ScreenShot.
Thank you For Your quick Response.
FYI
i have not written any apex class/Test class.i just installed it from managed package.
When i hit the check Challange button on trailhead i got the below Error:-
Challenge Not yet complete... here's what's wrong:
The unit tests in the managed package have not passed successfully. Make sure you run all test in your org before checking this section. Ensure that they all pass.
Thank you!!
in the class nothing is there, when i was trying to compile i saw (hidden) in the code area.
i don't have any idea.it would be great if you will help me out.
PFB ScreenShot
Thank you!!
Follow the steps.
1. in the Quick find box type apex classes
2. Then Chose "All" in the picklist for view "View"
3. Now click on Compile all classes which is above the picklist.
4. Once compilation is complete then type "Apex Test Execution" in the Quick Find Box
5. Now click on Select Tests button and choose all the classes.
6. Let me know if this helps you.
I saw some strange thing in that installed package,
it does not contain any apex class inside, its completely blank :(
Thanks!!
I have the same problem as Tapas, I tried your recommendation from 1/30/17, and it did not work.
I have the same problema as Tapas and I still can't get it pass... I tried to uninstall the managed package and re-install both for "admins only" and "all users", however the outcome is always a failure in testing. Also tried to switch to Classic as suggested above, but still nothing...
Any help please? I'm loosing night sleep because of it..! :(
Thanks,
Matteo
@Thiruchuri Adityan - thanks!
Matteo - this solution by Adityan works:
"From a managed package you cant access the code. . .
Follow the steps.
1. in the Quick find box type apex classes
2. Then Chose "All" in the picklist for view "View"
3. Now click on Compile all classes which is above the picklist.
4. Once compilation is complete then type "Apex Test Execution" in the Quick Find Box
5. Now click on Select Tests button and choose all the classes.
6. Let me know if this helps you."
i get a an error
Challenge Not yet complete... here's what's wrong:
The unit tests in the managed package have not passed successfully. Make sure you run all test in your org before checking this section. Ensure that they all pass.
When i run the Apex class test the following error occurs.
Can some one suggest Plz....
I still not able to pass this challenge, I found classes but my apex test execution is failed.