Timeline for System.debug() not appearing in batch test
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 25, 2015 at 14:41 | vote | accept | Will | ||
Sep 25, 2015 at 14:41 | comment | added | Will |
This seems to be the problem. I was calling test.starttest() before inserting my test objects and stoptest() after my assertions. Moving these to contain only the database.executeBatch() call, and it is not printing debug successfully. Thanks!
|
|
Sep 24, 2015 at 20:33 | history | answered | Daniel Ballinger | CC BY-SA 3.0 |