+ Start a Discussion
Lovel PanchalLovel Panchal 

Issue in trailhead not able to find a testclass even it is there.

I have completed the challange and also tested it, all is working fine but then also when I check challange its throws the below mention error.
Challenge Not yet complete... here's what's wrong: 
No Apex test class named 'AnimalLocatorTest' was found.

Challange name is Apex Integration Services > Apex REST Callouts.
Please can you help me out in this.
 
Best Answer chosen by Lovel Panchal
Amit Chaudhary 8Amit Chaudhary 8
Please post the screen shot of your test class. Please try to delete same test class and recreate same

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please post the screen shot of your test class. Please try to delete same test class and recreate same
This was selected as the best answer
N.M. SharmaN.M. Sharma
Hi Lovel,

So far as per my experience with trailhead if you made a very mistake you face error in it. In my openion may be you have not created the test class with AnimalLocatorTest name or may be the spelling is different or may be there are more that 2 test class with same name thats why its showing error.

Thanks
Lovel PanchalLovel Panchal
@Amit Chaudhary 8 I deleted and recreated the same, It worked :) Thanks