I am doing a Unit Testing for a scheduled job, I am using Quartz.net, I am new to this library.
I need to force the trigger to fire on demand, so that the job get executed and I can retrieve the test results.
I was using a SimpleTriggerImpl
, and I tried to fire the trigger by setting trigger.StartTimeUtc = DateTime.UtcNow
, but the job Execute method isn't being called.
How can I do this?
Thanks