5 months ago

And tips/advice on testing scheduled tasks?

Posted 5 months ago by sustained

This is essentially a cross-post for this request.

Has anyone ever successfully applied TDD to the task scheduler? If so, I'd appreciate any information at all you can share on the process.

As I mentioned in the other thread, I don't see how one could possibly mock something like the scheduler cron job.

And you'd need to fake advances of system time within said process, but from the tests.

Is this even possible?

Please sign in or create an account to participate in this conversation.