JBehave
  1. JBehave
  2. JBEHAVE-909

AnnotatedPathRunner in Eclipse does not end execution under some conditions

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Core, Core Examples
    • Labels:
      None
    • Number of attachments :
      2

      Description

      When running TraderAnnotatedPathRunner in Eclipse the execution seems not to finish (see attached image). You must click on the red square button to finishing it.
      If I set generateViewAfterStories to false, then the execution finish properly.

        Activity

        Hide
        Cristiano Gavião added a comment -

        Found the same behavior when narrow the execution to given_non_successful.story, not generating the view and not ignoring failures in stories:

        @UsingEmbedder(embedder = Embedder.class, generateViewAfterStories = false, ignoreFailureInStories = false, ignoreFailureInView = true,
                        storyTimeoutInSecs = 100, threads = 1, metaFilters = "-skip", systemProperties="java.awt.headless=true")
        @UsingSteps(instances = { TraderSteps.class, BeforeAfterSteps.class, AndSteps.class, CalendarSteps.class,
                PriorityMatchingSteps.class, SandpitSteps.class, SearchSteps.class })
        @UsingPaths(searchIn = "../trader/src/main/java", includes = { "**/given_non_successful.story" }, excludes = { "**/examples_table*.story", "**/given_relative_path*" })
        public class TraderAnnotatedPathRunner {
        
        Show
        Cristiano Gavião added a comment - Found the same behavior when narrow the execution to given_non_successful.story, not generating the view and not ignoring failures in stories: @UsingEmbedder(embedder = Embedder.class, generateViewAfterStories = false, ignoreFailureInStories = false, ignoreFailureInView = true, storyTimeoutInSecs = 100, threads = 1, metaFilters = "-skip", systemProperties="java.awt.headless=true") @UsingSteps(instances = { TraderSteps.class, BeforeAfterSteps.class, AndSteps.class, CalendarSteps.class, PriorityMatchingSteps.class, SandpitSteps.class, SearchSteps.class }) @UsingPaths(searchIn = "../trader/src/main/java", includes = { "**/given_non_successful.story" }, excludes = { "**/examples_table*.story", "**/given_relative_path*" }) public class TraderAnnotatedPathRunner {
        Cristiano Gavião made changes -
        Field Original Value New Value
        Summary Junit at eclipse is not being notified of end when generating view after stories Junit at eclipse is not being notified of end of execution at some conditions
        Mauro Talevi made changes -
        Summary Junit at eclipse is not being notified of end of execution at some conditions AnnotatedPathRunner in Eclipse does end execution under some conditions
        Description When running TraderAnnotatedPathRunner using Eclipse Junit the execution seems not to finish (see attached image). You must click on the red square button to finishing it.
        if I set generateViewAfterStories to false, then the execution finish properly.
        When running TraderAnnotatedPathRunner in Eclipse the execution seems not to finish (see attached image). You must click on the red square button to finishing it.
        If I set generateViewAfterStories to false, then the execution finish properly.
        Mauro Talevi made changes -
        Summary AnnotatedPathRunner in Eclipse does end execution under some conditions AnnotatedPathRunner in Eclipse does not end execution under some conditions

          People

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

            Dates

            • Created:
              Updated: