Open SamirTalwar opened 4 years ago
Perhaps we could do something like this:
tests:
- name: %
stdin:
file: *.in
stdout:
file: %.out
This would detect the glob expression in stdin.file
, and expand it to the long form above, using %
as the placeholder for the pattern matched by *
.
Alternatively, we could look at Dhall as a way of programmatically generating configuration files safely.
Using Dhall would be quite nice, indeed.
One use case for Smoke is to simply provide many different potential input and output files, and compare them. However, it gets old doing the following:
Not only is it monotonous, but error-prone.
@jaspervdj suggested finding a better way to avoid this repetition, just like goldplate does.