Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 331 Bytes

DateContext.md

File metadata and controls

7 lines (6 loc) · 331 Bytes

DateContext

This context manipulates the time. It uses the uopz extension and ClockMock.

Given

Given the current date is <date>

Modify the date, that is returned by date() or new DateTime(). Will automatically be reset to the current date before each scenario.