1

This question already has an answer here:

I have some functions in my contracts that activate x days after the contract starts, or x days after the contract enters a given state. Are there any best practices (or just practices :P) to test this? I'm using truffle as my framework.

marked as duplicate by Ismael, Matthew Schmidt, Richard Horrocks, Thomas Jay Rush, benjaminion Aug 3 '17 at 14:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I accidentally voted to leave this open, but both suggestions for duplication above are great and this should be closed. – Joël Aug 1 '17 at 1:01