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
- :
- Test coverage of selected Apex Trigger is 0%, at l...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2013 06:04 PM
Hi Guys
I got this error when i tray to deploy a small triger i created, seem works fine in sanbox
any ideas
The code is:
| 1 2 3 4 5 6 7 8 9 10 | trigger Update_region on Account (before insert, b |
Thanks in advance
Solved! Go to Solution.
Re: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2013 10:04 PM
Hi,
I think you are getting this error while you are deploying this trigger to the production org from sandbox. If it is yes then you need to write a test class for this trigger to the test coverage. In SFDC you need to cover the code through test classes.
Regards,
Sridhar Bongiri
Re: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2013 10:54 PM
Thanks mate, well I was readding about the classes (btw I am new in this) and I can't make this possible, any additional help?? Thanks
Re: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2013 11:05 PM
Hi,
Please go through the below site for more details on writing test classes for triggers.
http://teachmesalesforce.wordpress.com/2011/05/07/
Regards,
Sridhar Bonagiri
Re: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-15-2013 05:29 PM
Thanks very much

