sam-cogan / arm-ttk-extension-xplatform

MIT License
11 stars 5 forks source link

Support skipping tests within a file #17

Open alancast opened 3 years ago

alancast commented 3 years ago

If there is an autogenerated ARM template that you want to skip test validation on, it would be nice if there was a way to mute some or all tests on just that file.

Our current work around is to put it in a different directory from all our other ARM templates, but it would be preferable to either be able to mute tests within a file, or exclude one file.

Something like // arm-ttk-disable-file ... at the top of the file would be nice

sam-cogan commented 3 years ago

Would a file/folder exclusion option on the extension options work? If you wanted to do it in the file content then this is probably something that needs to be changed on the TTK itself rather than this extension, if we can do a file level exclusion we could do it in the extension.

alskaer commented 3 years ago

exclude single would would be a great addition. Have similar issue with not wanting a few tests, for a file or two.