Thanks in advance
2 respostas
Hi john
I had the problem of the test units failing. What I did to solve it was this:
In the Apex Test Execution window, once your test fails, click the "developer console" button, it's to the right of the "select tests" button. A window will open and in the bottom left you'll see the yellow folders, it's a list of the files for the tests you've run. Click the + button to open a folder until you see file icons and "help a stranger" and "hug your mother." Now double click on one of those and they will open up in a new window above. There is a column "errors" and in that column script for your failed unit. Double click on that script and once again it expands in a small window to tell you exactly what is missing from your org. Make the adjustments and voila! it should pass ok.thanks.