Use this method to set whether or not 'new' tests are saved to the baseline by default.
This option is enabled by default (i.e. new tests are saved automatically to the baseline), so use this method to disable the default behavior.
IConfiguration configval = config.SetSaveNewTests(value); config.SaveNewTests = configval; = config.SaveNewTests;
Note that this feature is available as both a method and a property.
- If set to false, then the user will need to save the baseline explicitly in the Test Manager for new tests to be saved to the baseline. If set to true, then Eyes will automatically create a baseline for tests with a status of 'new' (the default behavior).
- Type: IConfiguration
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXXmethods of the Configuration class.