Skip to content

Commit

Permalink
[JENKINS-24061] quick fix to not crash on pending steps.
Browse files Browse the repository at this point in the history
This prevents the crash for any pending steps, however pending scenarious/steps should
somehow be flagged (perhaps marked as skipped in the overview?).

This needs to be investigated and fixed properly - but for now do not fall over.
  • Loading branch information
James Nord committed Aug 4, 2014
1 parent 5c5cb12 commit 4cc56b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -38,6 +38,7 @@ public class CucumberUtils {
public static final String FAILED_TEST_STRING = "failed";
public static final String PASSED_TEST_STRING = "passed";
public static final String UNDEFINED_TEST_STRING = "undefined";
public static final String PENDING_TEST_STRING = "pending";
public static final String SKIPPED_TEST_STRING = "skipped";


Expand Down
Expand Up @@ -50,7 +50,9 @@ private enum RESULT_TYPE {
/** step skipped due to previous failure */
SKIPPED("background-color: #ffffcc;"),
/** line does not have a result */
NO_RESULT("");
NO_RESULT(""),
/** glue code is not implemented */
PENDING("background-color: #ffeeee;");

public final String css;

Expand Down

0 comments on commit 4cc56b6

Please sign in to comment.