Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- Code Coverage during deployment
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Code Coverage during deployment
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-03-2013 02:26 AM
Hi
I am trying to deploy my classes and onjects on Production using the Force.com IDE. All my classes and triggers have code coverage more than 75 % , while running tests in force.com IDE , i found that several other test methods are running which are from other classes. There is no relation with my code. It is dropping my Code coverage percentage. How can i prevent the running the tests from other classes or triggers while deploying the code. Refer to the image below - All classes and trigger with Green symbol should only execute the test cases , rest of them should be removed.
Solved! Go to Solution.
Re: Code Coverage during deployment
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-03-2013 05:52 AM
Hi Sandeep,
I think you need to select only those classes and their test classes which are required to depoly to the production org.
Regards,
Sridhar Bonagiri
Re: Code Coverage during deployment
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-03-2013 06:05 AM
Hi Sandeep,
When deploying to production, all the unit test classes are run.
Regards,
Hengky

