• Sherrie
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Every time I try to test a controller in my Sandbox I get the warnings,"Test coverage of selected Apex Trigger is 0%", and "xxxController --- 98 lines not tested, 0% covered" and "Average test coverage across all Apex Classes adn Triggers is 0%,..."

 

When I do the exact same thing to a controller in my production area, it works fine.  

 

I have the new Force.com IDE version 28.

 

Thanks!

 

Sherrie

Hi,

I would like to have all new Opportunities start with a default stage value of Stage 1: Initial Interest. I tried a WF rule but was unsuccessful. (below)

I think the best way to do this is with a trigger but i cannot find how to setup a trigger to insert a default value when the opp is created.

Please Help!!



User-added image