Status: Resolved (View Workflow)
Resolution: Won't Fix
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.
Sample json output file.
Sample Stack trace of a @Before stepDef throwing an assertion error.
|Field||Original Value||New Value|
|Assignee||teilo [ teilo ]|
|Resolution||Won't Fix [ 2 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
R. Tyler Croy made changes -
|Workflow||JNJira [ 153542 ]||JNJira + In-Review [ 194580 ]|
|Assignee||James Nord [ teilo ]|