Isaac Gouy
Posts: 527
Nickname: igouy
Registered: Jul, 2003
|
|
Re: Does JMockit solve the problems you had with unit testing and final?
|
Posted: May 31, 2006 2:14 PM
|
|
> > Does JMockit convince you that this statement is not > > correct "When you use final pervasively, you make unit > > testing nearly impossible."? > > Yes, but it's still more difficult than it has to be. ;)
What specifically is difficult about it?
> Isaac, the thing you don't seem to get is that I'm a > well-intentioned guy.
Michael, how do you know what I get or don't get?
On forums like this I always keep in mind that comments are well intentioned and sincere.
> JMockit is just now getting > attention, and I expect these problems to be solved or at > least dealt with in each language eventually. I also > expect to make many statements which may not be correct in > later light. Whatever it takes to push forward. If you > have any leads on ways to easily subvert 'sealed' in .NET > or automatically replace non-virtuals in C++, I'm all > ears.
I think it's fine that you blogged about final and testing based on your knowledge at the time - it's helped all of us to learn something, we have the opportunity to learn about JMockit.
Now, based on this new information, you've agreed that the statement you made on the object mentor blog is not correct.
Do you think it's appropriate to update the object mentor and artima blog entries with a correction so that future readers will not be misled?
|
|