JBehave
  1. JBehave
  2. JBEHAVE-703

JUnit test per example in parametrized tests

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.4
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
    • Number of attachments :
      1

      Description

      Using AnnotatedPathRunner/SpringAnnotatedPathRunner allow to get JUnit test per story, which is much more friendly than one big "run" test. It would useful to get reporting per example in parametrized tests (something looking like in JUnitParams on attached screenshot).

      Btw, JUnitParams which allows to create parametrized tests in JUnit uses custom runner which source code could be useful to review JUnit related part of the implementation of that feature.

        Activity

        Hide
        Marcin Zajaczkowski added a comment -

        Better summary could be: Reporting failures per example in parametrized tests while running with JUnit runner (but I don't have a permission to edit reported issue).

        Show
        Marcin Zajaczkowski added a comment - Better summary could be: Reporting failures per example in parametrized tests while running with JUnit runner (but I don't have a permission to edit reported issue).
        Hide
        Alexander Lehmann added a comment -

        I have implemented a very preliminary version of something like this with a Junit reporter called from a StoryReporter.

        https://github.com/alexlehm/jbehave-junit-examples

        Show
        Alexander Lehmann added a comment - I have implemented a very preliminary version of something like this with a Junit reporter called from a StoryReporter. https://github.com/alexlehm/jbehave-junit-examples
        Hide
        Alexander Lehmann added a comment -

        just found a previous issue which describes an alternate solution: JBEHAVE-551

        Show
        Alexander Lehmann added a comment - just found a previous issue which describes an alternate solution: JBEHAVE-551

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcin Zajaczkowski
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: