function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Newbie999Newbie999 

not getting 100% test coverage for a class in my org. But it's giving 100% cover in other playground trailhead.

Any possible technical changes/ settings issue for not getting 100% test coveage for a class in my org.
It's giving 100% coverage in other trailhad playground.

Any suggestions so that i can be more careful the next time
Andrew GAndrew G
Hi 
Without seeing the test class, it is hard to say, but things like hard coded Ids or (SeeAllData=True) can cause issues with moving code between instances.

Regards
Andrew