toolium icon indicating copy to clipboard operation
toolium copied to clipboard

Improve context storage to share data through whole run

Open legnadev opened this issue 1 month ago • 1 comments

Improved the managing of storages:

  • Added run_storage to store information during the whole test execution
  • Storages are merged to be able to get the information always from context.storage / [CONTEXT:]
  • In steps, be able to store values into desire storage by using [key], [FEATURE:key] and [RUN:key]. Example:
    • I store in key "store_key" the value "XXX"
    • I store in key "[FEATURE:store_key]" the value "XXX"
    • I store in key "[RUN:store_key]" the value "XXX"
  • Implemented new method store_key_in_storageto manage it

legnadev avatar Jun 27 '24 10:06 legnadev