I recently discovered property-based testing. It's pretty cool! However, I can't seem to find online resources related to testing pieces of code that involve time.
For example, think of a session API. When a session is consumed, the 'last time used' field must be set to current time. Past a certain time, the session has expired. Etc.
In fact, it's actually a very recurrent need.
Is property-based testing suitable for this use case ? Can anybody point me to online resources that treat this topic?
@ferd Does your book cover this topic ?