Skip to main content TDX, the developer conference for the AI agent era is happening now. Watch live on Salesforce+ for exclusive digital content, a revolutionary keynote, and more.
错误

出错了。请重试。

The 'LeadProcessor' class did not achieve 100% code coverage via your test methods. Make sure that you chose 'Run All' tests in the Developer Console at least once before attempting to verify this challenge.

 

Facing the above error, have tried multiple codes

 

#Trailhead Challenges

17 个回答
  1. 2024年7月2日 18:19

    Hi @Ankit Bisht,

     

    Thanks for provided the org access. The test is failed due to an active validation rule on Lead object. I have deactivated it and ran the Lead Processor test again and test coverage 100% completed and the challenge check is working as expected.

     

    Hi , Thanks for provided the org access. The test is failed due to an active validation rule on Lead object.

     

    May I request you to please check the challenge and hopefully it works now.

     

    Please feel free to mark my answer as best answer so that can be helpful for other Trailblazers over the community.

     

    Best Regards,

    Ravindra

  2. 2024年11月29日 08:25

    Hello @Ananth Muralidharan just run your test from vscode / from the dev console. In the terminal (for VSCode) ou in the test panel (of the dev console) you will get a summary of the run tests, telling you for each method if the assertions went well, or if something unexpected happened. Eric

0/9000