tag:blogger.com,1999:blog-6608275468089048982.post8686499927220041807..comments2022-04-07T07:15:39.365-07:00Comments on <b>Duck Typo</b>: The Virtual Clock Test Pattern Paolo "Nusco" Perrottahttp://www.blogger.com/profile/14208201814847358637noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6608275468089048982.post-72732133225948560922022-04-07T07:15:39.222-07:002022-04-07T07:15:39.222-07:00The Eight-Wheel Classic - TITIAN Arts
The eight-wh...The Eight-Wheel Classic - TITIAN Arts<br />The eight-wheel classic bicycle <a href="https://septcasino.com/review/merit-casino/" rel="nofollow">https://septcasino.com/review/merit-casino/</a> is <a href="https://ridercasino.com/1xbet/1xbet" rel="nofollow">1xbet korean</a> available in six sizes. The Bicycle Wheel <a href="https://worrione.com/" rel="nofollow">worrione.com</a> is a classic bicycle made in USA, <a href="https://septcasino.com/review/sands-casino/" rel="nofollow">septcasino</a> but there <a href="https://www.titanium-arts.com/" rel="nofollow">titanium metal trim</a> are three variations injaboriejackiewiczhttps://www.blogger.com/profile/11699626254000064665noreply@blogger.comtag:blogger.com,1999:blog-6608275468089048982.post-36083111390729191052014-01-07T08:57:21.520-08:002014-01-07T08:57:21.520-08:00Hi, Vladimir. JodaTime does the thing that I calle...Hi, Vladimir. JodaTime does the thing that I called "global clock" in the post above (I should have called it "global Virtual Clock", because it's still a Virtual Clock after all). Like you implied, a global Virtual Clock is convenient on one side (you don't have to inject it, because it's global), dangerous on the other (you need to remember to restart it, or else you get test dependencies).<br /><br />I don't think there is a general guideline that works in every situation: it boils down to how much you use the Virtual Clock, personal preference, and so on. I personally tend to use injection when I'm working with Java, and a global (the TimeCop gem) when I'm using Ruby.Paolo "Nusco" Perrottahttps://www.blogger.com/profile/14208201814847358637noreply@blogger.comtag:blogger.com,1999:blog-6608275468089048982.post-47241329091075227322014-01-06T03:51:21.100-08:002014-01-06T03:51:21.100-08:00Hi Paolo, What you think on using JodaTime & D...Hi Paolo, What you think on using JodaTime & DateTimeUtils instead of virtual clock in Java? http://stackoverflow.com/questions/20949337/is-it-safe-to-use-datetimeutils-setcurrentmillisfixed-in-testsVladimirhttps://www.blogger.com/profile/15331364161996562380noreply@blogger.com