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
It would be helpful to provide the relative tick script path in the configuration YAML if wanted. Such would make it possible to just pass the root tests directory on command line and then have the relative path in config yaml.
Actually what I was looking for was to:
either
a) gather all .tick scripts recursively from all subdirectories under the given --dir /some directory
or
b) have the tool to understand relative paths in the config file, like when defining --dir scripts and in yaml having that task_name: scripts1/script1.tick for a .tick script that would be located in scripts/scripts1/script1.tick
It would be helpful to provide the relative tick script path in the configuration YAML if wanted. Such would make it possible to just pass the root tests directory on command line and then have the relative path in config yaml.
e.g.
Then having in test1.yaml
And running:
kapacitor-unit --dir scripts --tests tests/test1.yaml
I will add another improvement for just providing a
tests
directory and then iterating over all test yaml configs in there :)The text was updated successfully, but these errors were encountered: