[jboss-user] [JBoss jBPM] - Re: fork and join childeren

tbeernot do-not-reply at jboss.com
Fri Nov 14 08:57:40 EST 2008


Ok. 

Now, I fully appriciate the help you guys are giving me. Again many thanks for that. And I even appriciate the promotion of unittests, although you are talking to an already converted believer. But I do think it is a bit overdone to try to tell me how I should work my way to a unittest, as long as -when I'm done- there is a nice unittest with assertions. 

So when I'm busy learning something (like JBPM here) I prefer prints. Simple, straight forward and it outputs the info exactly at the right time, over and over again, without me having to think in advance about what should be there. Token classes? Node classes? Iterator? I'm learning what should be there, prints are telling me this, and then I can replace the prints with assert and continue to the next part. Step by step.

I most definitely use debuggers, but for when I need to trace the execution, and they often involve tiredsome manual "step-in", "execute-out", "run-to" and other program flow management, which I do not like. Especially if certain pieces of code have to be navigated multiple times. Plus, how do you think I should have illustrated my problem we discussed in the thread? Make a movieclip of the debugger screen?

So, again, I'm very grateful for the help, and I'm a great proponent for unittests, but let's keep the how-to-get-there to each's personal taste. I use intermediate prints, you guys use asserts. Great. At least we all write unittests.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189400#4189400

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189400



More information about the jboss-user mailing list