saveNewTests property

Class: ConfigurationPlatform: ImagesAppKitLanguage: Objective-C SDK:

Use this property to set and retrieve 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.

Syntax

Call syntax

BOOL configval; // give relevant initial value
config.saveNewTests  = configval
configval = config.saveNewTests

Declaration

 (assign, nonatomic) BOOL saveNewTests

Type:BOOL

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).