Groups
Groups
Sign in
Groups
Groups
Spock Framework - User
Conversations
About
Send feedback
Help
exception from junit..fail() gets eaten
7 views
Skip to first unread message
Barry Kaplan
unread,
Dec 14, 2009, 6:18:04 PM
12/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spock Framework
In my setupSpeck() junit's fail is invoked(). The result is the test
terminates but no message or exception is displayed (in Idea at
least).
Should I be using something else to fail fast?
Peter Niederwieser
unread,
Dec 14, 2009, 6:31:54 PM
12/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spock Framework
Hi Barry,
I suggest to use "assert false" instead of JUnit's fail(). You can
also add a message:
assert false, "this should not have happened"
That said, I suppose you still won't see an exception. Can you please
file an issue (
http://issues.spockframework.org
)?
Cheers,
Peter
Reply all
Reply to author
Forward
0 new messages