Flags and modes Pub

There are several flags that control the behaviour.

blenderMode=true

The blender will blend all the specs in this app/reactor and use them when running the input messages. When false, only the current spec (or none if none is specified) will be used.

Use it when testing local changes.

sketchMode=false

In sketch mode, the $expect values are faked, if not generated by any other rules. This mode is great when capturing the requirements initially and sketching out the behavior of the system.

This may be the only mode a requirements analyst ever needs.

mockMode=true

Use the mocks instead of executing the $msg.

draftMode=true

Use the draft specs and stories, if any, instead of their current values.

resultMode=value

The mode the result is returned:

  • value will return a single value
  • values will return all generated values in a Json map
  • treeHtml will return the generated values, the tree and more debug information, as a JSON document
  • treeJson will return the generated values, the tree and more debug information, as a JSON document
  • debug will only the derivation tree, as text

execMode=sync

n/a


Was this useful?    

By: Razie | 2016-06-20 .. 2017-05-01 | Tags: academy , reference


Viewed 259 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2021, all rights reserved.