tag:blogger.com,1999:blog-8779314896221625511.post5062157828196609642..comments2024-03-27T05:11:06.294-07:00Comments on Stash's Seriously Named Computing Blog: Groovy & Spock: Adding Numbers TogetherJohn Prystashhttp://www.blogger.com/profile/16707064951271867131noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8779314896221625511.post-26275877901018001702012-05-14T02:47:33.127-07:002012-05-14T02:47:33.127-07:00Hello John
I'm working with Mule and liking v...Hello John<br /><br />I'm working with Mule and liking very much what I'm reading about Spock. Did you manage to have something equivalent to Mule's FunctionalTrestCase with Spock?<br /><br />Thanks for your time!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-67372529814896310512010-07-07T17:16:31.640-07:002010-07-07T17:16:31.640-07:00Nice blog post. You can get the same condition out...Nice blog post. You can get the same condition output in helper methods like so:<br /><br />void check(sum, numbers) {<br /> assert sum == adder.add(numbers)<br />}<br /><br />However, this mostly makes sense when you keep repeating a whole bunch of conditions.Peter Niederwieserhttps://www.blogger.com/profile/07908150130912600539noreply@blogger.com