Activity Forums Salesforce® Discussions When we install unmanage package in our org, do we need to rerun all the test classes in Salesforce?

  • Kumar

    Member
    January 16, 2017 at 10:07 am

    Hi Vikas,

    Test classes need to pass in the dev org when packaging. Not needed when installing

    However, you should design your tests as best you can to pass in customer org. Also if performing call outs, provide a framework that your subscriber can use in their tests to mock responses when your package makes a call out during their tests.

    So while they do not have to pass in subscriber org technically, it is still considered a good practice to design your test classes to run in the customer org.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a