- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Back to Winter '12 Force.com Platform Release
Winter '12 Force.com Platform Release
New IsTest Annotation
You can specify which test methods get executed during the installation of a managed package by annotating test methods or an entire test class with the IsTest(OnInstall=true) annotation. A test method or a class that doesn't have this annotation or that is annotated with isTest(OnInstall=false) or isTest, won't be executed during installation.
This annotation applies only to managed packages created in the Winter '12 release or later. Packages created prior to the Winter '12 release aren't affected by this annotation and all their tests run during installation.
