Deep Shah's Blog

Coding is an art. Not everyone is an Artist!

Showing posts with label untestable code. Show all posts
Showing posts with label untestable code. Show all posts
Monday, June 21, 2010

How to suppress static initializers using PowerMock

›
In my previous post we saw how we could test methods of class whose constructor does evil stuff .  What if the static initializer of the cla...
Tuesday, May 11, 2010

Testing the Untestable code using PowerMock (Mockito api)

›
Taking inspiration from this excellent post by  Johan Haleby , today I am going to jump a few gears and show you the real power of PowerMoc...
›
Home
View web version
Powered by Blogger.