function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Simon GAZINSimon GAZIN 

Apex Test Runner - Re-Run

Hi, 

 

I have a problem to start and see my coverage on my test classes, it is impossible for me to click on the Re-Run bouon.

I use Eclispqe Juno and IDE Force.com 

 

Thanks ! 

tggagnetggagne
Will you elaborate a little? What happens when you hit rerun? What's on the screen before you hit rerun? Does Eclipse hang when you hit rerun? Are you connected to production or a sandbox? Does the rerun work with other classes? Other projects?
Simon GAZINSimon GAZIN

In "Apex Test Runner" tab, there are two boutton "Clear" and "Re-Run", both boutton  its gray, not clickable.
I work online connected to a Sandbox.
I work on trigger "BeforeInsert & Update" that call a class. So I created a test class that should be testable here. Or am I wrong ?

 

My beginning to learn Apex, I created trigger and classes in the same environment to train me and it worked good.

 

tggagnetggagne

You probably need to run the test first.

 

Start from the right-butto menu, select Force.Com->Run Tests.  If you do that either on a highlighted test class or inside the editor window just that test class will be executed.

 

After running it a first time, both buttons should be activated.