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

Use filenames as the source for the value of a local-variable #486

Closed
Seddryck opened this issue May 30, 2019 · 1 comment
Closed

Use filenames as the source for the value of a local-variable #486

Seddryck opened this issue May 30, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented May 30, 2019

It should be possible to run a test for all the files available in a directory. To achieve this, it would be useful to be able to set a local-variable to the filename. The variable should be settled based on the content of a directory with an optional filter on the pattern of the filename.

<instance-settling>
  <local-variable name="myFile" type="text">
    <loop-file path="C:\Temp\" pattern="foo-*.txt">
  <local-variable>
</instance-settling>
@Seddryck
Copy link
Owner Author

Beta available in 1.21.0-beta.271 or from https://ci.appveyor.com/project/Seddryck/nbi/builds/26777333/artifacts

@Seddryck Seddryck modified the milestones: v1.22, v1.21 Aug 18, 2019
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