JBehave
  1. JBehave
  2. JBEHAVE-910

Show the story path for failing stories at end of batch execution

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When running TraderAnnotatedPathRunner example without view generation it is a kind difficult to know which stories have fail because what is being printed at console is this:

      Failed to run batch
      org.jbehave.core.embedder.PerformableTree$SomethingHappened@5d2e2355: junit.framework.AssertionFailedError: I failed!
      org.jbehave.core.embedder.PerformableTree$SomethingHappened@328ae1fb: junit.framework.AssertionFailedError: I failed!
      org.jbehave.core.embedder.PerformableTree$SomethingHappened@7dfa0e30: org.jbehave.core.model.OutcomesTable$OutcomesFailed
      org.jbehave.core.embedder.PerformableTree$SomethingHappened@2c7acb6f: junit.framework.AssertionFailedError: I failed!

      So, instead of print the PerformableTree object we should print the Story Path.

        Activity

        There are no entries against this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Cristiano Gavião
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: