I've written several simple Apex unit tests and I'm trying to run them through Salesforce, so:
Setup > Develop > Apex Test Execution > Select Test... > Run
The tests are passing, the code is fine.
But quite regularly I'm finding the tests just don't run at all. I select a test and hit
run and all I get is the Queued icon next to my test and the following message when I click on the test:
Selected job is not yet complete.
Sometimes the test kicks off after a few minutes and sometimes it's up to an hour or more and once the test starts it only takes a few seconds to complete.
It must be a problem with Salesforce.
Has anyone else encountered this and is there a solution?