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
jfurr_improveit360jfurr_improveit360 

Unit Test Debug Log

Is there an easy way to get to a unit test's debug log in the developer console or the apex test execution page? The only solution we know of right now is to run the unit tests in Eclipse and copy the log to notepad so that we can search it.

Thomas DvornikThomas Dvornik

When you run the tests in the Developer Console, you should see the log show up in the "Logs" tab. By double clicking it, it will open it in an interactive log view. If all you want to do is search, you could hide all panels other than the log from the perspective button, and save that perspective and make it the default. It will make it load faster. You can filter the log from that log view. 

 

You can also open it as a raw log, and do a browser search.