public ShouldMatchConfiguration(ShouldMatchConfiguration initialConfig) { StringCompareOptions = initialConfig.StringCompareOptions; FilenameDescriminator = initialConfig.FilenameDescriminator; PreventDiff = initialConfig.PreventDiff; FileExtension = initialConfig.FileExtension; TestMethodFinder = initialConfig.TestMethodFinder; ApprovalFileSubFolder = initialConfig.ApprovalFileSubFolder; Scrubber = initialConfig.Scrubber; }
public ShouldMatchConfigurationBuilder(ShouldMatchConfiguration initialConfig) { _config = new ShouldMatchConfiguration(initialConfig); }
static bool ConfigurationAllowsDiff(ShouldMatchConfiguration config) { return ShouldlyConfiguration.DiffTools.ShouldOpenDiffTool() && !config.PreventDiff; }