I use truffle + testrpc for testing my contracts and I need to test some time-dependant code (I guess that situation is quite common). I set some objects, check some conditions, then I need to simulate time forwarding to check conditions again.
Testrpc has evm_increaseTime function implemented. Can I use it in truffle tests? If yes, is it limited to javascript-written tests only? So far I wrote only solidity-tests.
I can't figure out what is the best way to use that evm_increaseTime function and how, though I am sure lots of people already solved that problem.