• j2ee
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi
I have written an apex trigger in Sandbox. It is working fine. I have written apex class to test the trigger and when i run the tests, it is showing 94% coverage.
But when i try to deploy it into production using eclipse force.com ide and validate deployment, it throws an error saying
Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
I have gone through dev community and tried many options like changing api version to 11.0 in xml files but it was of no use.

Please suggest me a solution for this asap.

Thanks.
Iqbal
  • July 13, 2008
  • Like
  • 0
Hi
I have written an apex trigger in Sandbox. It is working fine. I have written apex class to test the trigger and when i run the tests, it is showing 94% coverage.
But when i try to deploy it into production using eclipse force.com ide and validate deployment, it throws an error saying
Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required
I have gone through dev community and tried many options like changing api version to 11.0 in xml files but it was of no use.

Please suggest me a solution for this asap.

Thanks.
Iqbal
  • July 13, 2008
  • Like
  • 0