History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FKS-5
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Vivek Prahlad
Reporter: Vivek Prahlad
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Frankenstein

Failing AssertLabel step shows unhelpful error message

Created: 03/Aug/07 04:56 AM   Updated: 03/Aug/07 04:56 AM
Component/s: Playback
Affects Version/s: 0.7.5
Fix Version/s: 0.8

Original Estimate: 24h Remaining Estimate: 24h Time Spent: Unknown


 Description  « Hide
Currently, a failing assert_label event prints out this:

INFO: 07/31/2007 02:55:48 PM Playing: AssertLabelEvent: output: abcabcdefFAIL
WARNING: 07/31/2007 02:55:48 PM Exception: java.lang.reflect.InvocationTargetException
com.thoughtworks.frankenstein.events.EventExecutionStrategy$1.execute(EventExec utionStrategy.java:25)
com.thoughtworks.frankenstein.events.AbstractFrankensteinEvent.play(AbstractFra nkensteinEvent.java:85)
com.thoughtworks.frankenstein.recorders.DefaultScriptContext.playAndReportTestS tatus(DefaultScriptContext.java:120)
com.thoughtworks.frankenstein.recorders.DefaultScriptContext.play(DefaultScript Context.java:81)
com.thoughtworks.frankenstein.recorders.DefaultScriptContext.playEvents(Default ScriptContext.java:100)
com.thoughtworks.frankenstein.recorders.DefaultScriptContext.play(DefaultScript Context.java:71)
com.thoughtworks.frankenstein.recorders.DefaultRecorder.run(DefaultRecorder.jav a:100)
java.lang.Thread.run(Unknown Source)

We need a better (simpler) error message, something like:
Playing: AssertLabelEvent
Failed: Unable to find label named "foo"

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.