Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21545

Skipped steps don't mark test as failure

XMLWordPrintable

      A scenario is marked as passed even if there are steps that have been marked as skipped.
      In particulary if a StepDef annotated as @Before throws an assertion error this produces a JSON report where all the steps are skipped, however this is treated as a successful test by the reporting.

      Attached:
      Sample json output file.
      Sample Stack trace of a @Before stepDef throwing an assertion error.

            Unassigned Unassigned
            mole125 The Mole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: