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
Brian KesslerBrian Kessler 

Advanced Apex Specialist Challenge 8 - Verification is broken

I'm currently trying to finish the Advanced Apex Specialist, on challenge 8.

Yesterday when I tried to submit, I received the error:
Ensure that you haven't deleted the product2Trigger_UnitTest in orderTests.
... Which didn't make much sense since it Product2Trigger_UnitTest doesn't belong in OrderTests, but rather in Product2Tests.
Whatever, I copied it there, but it still failed with the same error.

I decided to call it a night.

Today, I figured I'd go back to hacking away at this, but now, the check takes forever to execute before finally invariably displaying:
Looks like something went wrong, please try again later.

Note, there haven't been actually any changes between yesterday's and today's non-passing code.
 
Best Answer chosen by Brian Kessler
Brian KesslerBrian Kessler
Trailhead resumed successful checks sometime last night, which reverted to the original problem.

I eventually solved the problem by removing all my dependency injection, removing all my true/proper/atomic unit tests (which were largely dependent upon being able to mock out dependencies, removing all the classes which were no longer used, adding some useless "tests" which exercised the code without making meaningful assertions, rerunning the tests, and then submitting.

This is not "Advanced Apex Special" , this is "Apex Meatball Surgeon".

What are they going to call the badge for someone who actually knows how to write maintainable code?
"Apex Superhero"?