Veremes / rTest

Testing tool for FME Workspaces
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

More than one file in <deletebefore> #10

Open modgeosys opened 6 years ago

modgeosys commented 6 years ago

How can I specify more than one file to delete before a test executes? The XML validator doesn't like multiple deletebefore tags.

ogayte commented 6 years ago

Hi, Currently only wildcard expressions ( ?) are supported for example myshapefile. see https://docs.python.org/2/library/glob.html If you have a specific need we will improve scenarioPlayer.fmw, it seems easy enough. I think to use a | delimitor between file patterns but there is maybe a more standardized way.

modgeosys commented 6 years ago

I might be able to use a wildcard in this case. But for more complex scenarios, it would be good to have a mechanism for multiple files. I would think multiple s would be a more standard way to handle this in XML than pipe delimiters, but whatever is easiest... :-)