Class TestcaseStep

java.lang.Object
org.chenile.workflow.testcases.TestcaseStep

public class TestcaseStep extends Object
The basic test case. The test case consists of a set of events that will be emitted. The event transitions the state entity. The from and to state IDs are captured.
The testcase object is derived from a transition and looks like it for the most part with additional information.
  • Field Details

    • first

      public boolean first
    • event

      public String event
    • fromFlow

      public String fromFlow
    • from

      public String from
    • to

      public String to
    • toFlow

      public String toFlow
    • manual

      public boolean manual
    • comments

      public List<String> comments
    • transition

      public Transition transition
  • Constructor Details

    • TestcaseStep

      public TestcaseStep(Transition t)
    • TestcaseStep

      public TestcaseStep(String from, String to, String event)
      This method is used in test cases for assertions.
      Parameters:
      from - - from State ID
      to - - to State ID
      event - - Event
  • Method Details