Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Scenarios

  • Defined using simple XML files
    • Defined using simple XML files
    • Allows hierarchical structure and schema validation
    • Has reasonably balanced horizontal aestetics - compared to JSON
  • Definition files are located in /tools/test/scenarios

  • Scenario can import other scenarios

    • import can be qualified with a namespace 
  • Comprised of steps or groups with dependencies

  • Dependencies can be inherent or injected later
  • Defines process flow as an execution DAG

Steps and Groups

  • Step is an individual node in the scenario process flow
    • associated with some form of executable via exec attribute 
  • Group is a collection of other groups and steps
    • used for grouping related sets of steps
    • used for encapsulation and definition of shared dependencies
  • Has a name unique within the scope of a scenario
    • namespace can be used to preserve uniqueness for scenario import
    • Specifies other steps or groups it inherently requires
    • Can be marked as optional using if or unless attributes

 

  • No labels