You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the feature you want to add
I have a quite large collection which use the runtime variables a lot.
For the sake of run reproducible result I want to delete all runtime variables (set by bru.setVar function). I know that there is a bru.deletVar function which need the name of the variable to delete as parameter. I did not find a way to list all names of current runtime variables.
The ability of deleting all runtime variables will help in two situations:
When running folder or collection multiple time, the variables can be delete by a script.
If a collection consists of multiply folder, each top level folder can wipe all runtime variables. In this case the developer can be sure, that the result of a top level folder is not influenced by any preceding top level folder.
I also found the a function bru.hasVar() already exists. Unfortunately no documentation is available.
Mockups or Images of the feature
I want to have one of the following:
bru.deleteAllVars() - simply delete all runtime variables
bru.listVars() - return an array containing all names of runtime variables
The second solution enable the developer to achieve the first by building a loop over all variable names returned by bru.listVars() and delete each individually.
The text was updated successfully, but these errors were encountered:
I have checked the following:
Describe the feature you want to add
I have a quite large collection which use the runtime variables a lot.
For the sake of run reproducible result I want to delete all runtime variables (set by
bru.setVar
function). I know that there is abru.deletVar
function which need the name of the variable to delete as parameter. I did not find a way to list all names of current runtime variables.The ability of deleting all runtime variables will help in two situations:
I also found the a function
bru.hasVar()
already exists. Unfortunately no documentation is available.Mockups or Images of the feature
I want to have one of the following:
bru.deleteAllVars()
- simply delete all runtime variablesbru.listVars()
- return an array containing all names of runtime variablesThe second solution enable the developer to achieve the first by building a loop over all variable names returned by
bru.listVars()
and delete each individually.The text was updated successfully, but these errors were encountered: