|To test my plugin I need to remove the singleton [message #592184]
||Thu, 19 February 2009 17:54
| Mikael Petterson
Registered: July 2009
I have inherited a plugin project. I want to make sure that when I make a
release of the plugin I will have a good quality. I have used Junit and
jmock for sometime. Those are great tools!
So I added some code and started to add a junit test. Soon I realized that
I needed to mock some object. But I bounced into the problem that I had
Yes the singleton pattern is used a lot in the code.
Has anyone dealt with removing singleton pattern:s in their plugins?
All advice is welcome.
Powered by FUDForum
. Page generated in 0.05542 seconds