goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.53k stars 470 forks source link

Skip by type #785

Closed ripienaar closed 1 year ago

ripienaar commented 1 year ago
Checklist

Description of change

When using Goss as a package it might be desirable to disable a certain resource type - mainly Command - so this adds a new utility util.WithDisabledResourceTypes() that can be used to disable a resource type.

Might not be desirable to change the Validate() signature but was best I could come up with, let me know if you have alternatives in mind.

Also deals with ioutil deprecation.

aelsabbahy commented 1 year ago

Thank you!