I've added a new feature to Stubrn: Instead of implementing an anonymous class
with methods or fields as shown
here, you can now pass
a Map<String,Object>
as a holder to stubFor()
.
My Impressions and Suggestions about Software Development in the 21th Century. Or something like that.
January 25, 2010
Stubrn, Maps and Groovy
January 23, 2010
Stubrn - Some Ideas about Concise Stubs in Java
Motivation
There are a lot of cool Java Mock frameworks out there in the wild. I am a great fan of JMock myself, but nevertheless, they are Mock frameworks. As a matter of fact, sometimes i just want to use a Stub and not a Mock. That said, and not finding a proper solution to fit my needs, i started considering my demands. If you are as eager as me to see the results of this quest, feel free to read on!
Subscribe to:
Posts (Atom)