You need to sign in to do that
Don't have an account?
Zoe Hart
Is it possible to upload a package without any unit tests?
I am doing some development in my company's Sandbox environment. My work is not yet complete. The IT team plans to refresh the Sandbox today and I don't want to lose my work. I thought I might create a package, allow the refresh, and then install the package back into the Sandbox. But this is my first custom Salesforce development and I have not yet put any unit tests into my custom class and so I cannot upload my package.
Is there a way around the unit test coverage requirement? Is there a better way to back up and restore my work around the Sandbox refresh?
Is there a way around the unit test coverage requirement? Is there a better way to back up and restore my work around the Sandbox refresh?
- Setup >> outbound changesets >> Create a new changeset and add all your components to it
- Navigate to workbench.developerforce.com (https://workbench.developerforce.com" target="_blank) >> Login with your sandbox credentials
- Choose Retrieve option under Migration tab
- provide the changeset name that you created in salesforce and click retrieve.
- Wait for the retrieve process to complete and download the zip file that it provides after the completion.
Have this zip file as a backup. once the sandbox refresh is complete. Use the workbench again(login with the same sandbox credentials) and choose "Deploy" option this under "Migration". Upload the zip file that you have and hit "deploy" .Hope this helps. Mark this as an answer, if it answers your question. So, others can refer.
-Harsha
All Answers
This way you can save your work. Once the sandbox is refreshed deploy all your components into the same sandbox using workbench again. This would be a simple option to the package.
Hope this helps.
-Harsha
Thanks for your patience!
- Setup >> outbound changesets >> Create a new changeset and add all your components to it
- Navigate to workbench.developerforce.com (https://workbench.developerforce.com" target="_blank) >> Login with your sandbox credentials
- Choose Retrieve option under Migration tab
- provide the changeset name that you created in salesforce and click retrieve.
- Wait for the retrieve process to complete and download the zip file that it provides after the completion.
Have this zip file as a backup. once the sandbox refresh is complete. Use the workbench again(login with the same sandbox credentials) and choose "Deploy" option this under "Migration". Upload the zip file that you have and hit "deploy" .Hope this helps. Mark this as an answer, if it answers your question. So, others can refer.
-Harsha