+ Start a Discussion
DeeckayDeeckay 

Testing triggers on managed applications

Hi,

I have extended functionality Rootstock by adding a trigger to the object to save the data in another object to be used by other custom applications. The trigger functionality is invoked during an update and works fine in sandbox; however I've been unable to create tests for it to deploy. This is because instantiating the object to create testdata results in an error. Is there a workaround to writing tests to objects that cannot be directly instantiated?
pbattissonpbattisson
Hi Deeckay

Without detailed information of every part of the system then a workaround is unlikely. What would be helpful is to know the error you are receiving - this may allow some to help out in debugging the problem in your creation step.

Paul