Find your content:

Search form

You are here

testMethods and Managed Packages

 
Share

When running testMethods which test logic I've built to interact with a managed package, it seems the triggers in the managed package are not firing, therefore I cannot test if my trigger is interacting with the managed package correctly...

Is this true? Any ways around it?


Attribution to: Nathan Williams

Possible Suggestion/Solution #1

I think that all triggers are executed [The order of execution isn’t guaranteed when having multiple triggers for the same object due to the same event.] Your trigger can executed before trigger from managed package.

The other possibility is that this particular managed package has some additional code for disabling this trigger in managed package during yours unit tests - for example using static resources - look at slide 21.

Probably you should look into debug log.


Attribution to: macslo
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/31306

My Block Status

My Block Content