Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override variables' value within the config file #409

Closed
Seddryck opened this issue Oct 1, 2018 · 1 comment
Closed

Override variables' value within the config file #409

Seddryck opened this issue Oct 1, 2018 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Oct 1, 2018

From times to times, it's convenient to be able to enforce the value of a variable. It should be possible to do it in the config file to avoid to have to change the test-suite. You could be able to add the following lines:

<nbi ...>
   <variables>
      <add name="myDate" value="2013-12-01" type="DateTime"/>
      <add name="myNum" value="187" type="Numeric"/>
   </variables>
</nbi>

Even if the variable myDate is dynamically defined in the test-suite the value provided in the config will override the calculated value.

@Seddryck Seddryck added this to the v1.19 milestone Oct 1, 2018
@Seddryck
Copy link
Owner Author

Seddryck commented Oct 2, 2018

@Seddryck Seddryck closed this as completed Nov 1, 2018
Seddryck pushed a commit that referenced this issue Nov 1, 2018
… and also to override the definition of a variable in a config file #410
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant