Quantcast
Channel: Zilverblog » Java
Browsing latest articles
Browse All 5 View Live

Fixing date in test using JUnit MethodRule

One of the principles of a good unit test is that they are repeatable. This is especially important if the tests involve dates. Typically this is programmed in the setUp and tearDown of the unit tests....

View Article



Crap-o-meter

There has been a lot of talk about craftsmanship these days. I didn’t care much about the discussion whether we are craftsman or not. To me all that matters is what Uncle Bob says about it in one of...

View Article

Option[Scala]… a better null?

Yesterday I watched Graham Tackley’s talk (slides) on moving from Java to Scala at guardian.co.uk. The presentation is well worth watching if you’re considering adding Scala to your project. One of the...

View Article

Image may be NSFW.
Clik here to view.

Spring testing on steriods

Recently I was involved in another Spring powered Java project and noticed a lot of test specific xml configuration floating around. Typically this is done because (for instance) datasources and such...

View Article

Image may be NSFW.
Clik here to view.

Play! 2.0: A First Impression

Play! is a web framework for Java and Scala. Play promises to bring the developer productivity of web frameworks like Ruby on Rails to the Java and Scala languages. Of course, it wouldn’t make much...

View Article

Browsing latest articles
Browse All 5 View Live


Latest Images