Flags and modes Pub Share

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

strictMode = false

Sets the engine in strict mode, see Default executors


Was this useful?    

By: Razie | 2016-06-20 .. 2022-11-14 | Tags: academy , reference


Viewed 997 times ( | History | Print ) this page.

You need to log in to post a comment!

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