Timeline for Cannot use @istest in Apex Triggers
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 31, 2020 at 14:15 | comment | added | Robs | If this was possible, it would be quite a nice way to test Platform Events have been published. Because you could have a @isTest subscriber trigger class... | |
Oct 15, 2014 at 12:45 | comment | added | Jonathan Stegall |
Currently, I have CheckLead_test as an Apex Class (as you say) and CheckLead as a trigger. CheckLead_test starts like this: @isTest class CheckLead_Test { static testMethod void insertNewLead() {
|
|
Oct 14, 2014 at 22:42 | history | answered | sfdcfox♦ | CC BY-SA 3.0 |