Menu

#45 Linenumber in the script where the assert failed

Next Release
closed
Framework (21)
1
2004-03-20
2004-03-17
Niels
No

We have very long scripts, so it would be nice if we
can find the linenumber at which the script get an failure.

Discussion

  • Timothy Wall

    Timothy Wall - 2004-03-17

    Logged In: YES
    user_id=54098

    There's code for this in abbot.editor.ScriptModel, which should
    probably go into abbot.script.Script instead (as a static method), so
    that it can be provided in thrown errors.

    When the editor catches the error, the file/line are shown in the
    status.

     
  • Timothy Wall

    Timothy Wall - 2004-03-17
    • milestone: --> Next Release
    • priority: 5 --> 1
     
  • Timothy Wall

    Timothy Wall - 2004-03-17

    Logged In: YES
    user_id=54098

    AssertionFailedError thrown by Assert steps now includes the
    file:line information of the offending step (committed to CVS).

     
  • Timothy Wall

    Timothy Wall - 2004-03-20
    • status: open --> closed