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

Moodle | New Database table not getting created

| By Webner

In Moodle, we were creating a new table for our custom plugin in db/install.xml file. Install.xml file : <TABLES> <TABLE NAME=”test_student” COMMENT=”Student details.”> <FIELDS> <FIELD NAME=”id” TYPE=”int” LENGTH=”10″ NOTNULL=”true” SEQUENCE=”true”/> <FIELD NAME=”user_name” TYPE=”text” NOTNULL=”true”  SEQUENCE=”false”/> <FIELD NAME=”userid” TYPE=”int” LENGTH=”10″ NOTNULL=”true”