Do Test Classes Run When Installing a Managed Package?

|
| By Mohit Mahajan

The straightforward answer is no. When you install a managed package from the AppExchange or via a link into your Salesforce org, the Apex test classes included in that package do not run by default. This often surprises people because

Salesforce | Sort “wrapper class” objects alphabetically based on a String parameter

| By Webner

Suppose we have a Wrapper class with fName as a string instance variable and we want to sort a list of objects alphabetically based on value of this variable. Implement Comparable interface global class MyWrapperclass implements Comparable { public String