+ Start a Discussion

Test Approval Process Code Without Setting up Approval Process



This maybe a strange use case but I need to test an approval process without actually setting up the approval process in the declarative interface. The reason being, that using approval processes is optional in our managed package so we don't want to include an already setup approval process but we still need to test the code that would use an approval process should the end user decide to create one.


Thanks in advance for any ideas or help!



Do you just want this to cover code which fails while installation of the Managed package?