[jboss-user] [JBoss jBPM] - Re: fork and join childeren
kukeltje
do-not-reply at jboss.com
Thu Nov 13 20:01:28 EST 2008
anonymous wrote : But before I can assert something, I need to see it first... Are there really two tokens? Yes... Ok, assert.
I disagree. You can assert ANYTHING, e.g. assert that you expect one token. The test fails because there are more tokens. Assert that the token is in a certain state: it succeeds or fails and the real value is always printed.... I initially did it as you mention, but starting with assertions is way easier and more understandable for others if something goes wrong.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189260#4189260
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189260
More information about the jboss-user
mailing list