Testing Quartz CronTrigger trigger

前端 未结 6 1873
北荒
北荒 2020-12-30 06:04

Assuming that I have a CronTriggerBean similar to



        
6条回答
  •  清酒与你
    2020-12-30 06:30

    1. You can always wait until the 15h of July.
    2. Being more serious... If it's really a key part of the application and I you need to have it tested fully. I would recommend using some virtualization setups and have the application installed within some guest machine. Then you could play with the system clock and test different date/times without spending a whole month on it. Moreover there's nothing that should stop you from automating such tests.

提交回复
热议问题