-
-
Notifications
You must be signed in to change notification settings - Fork 8
User Settings
User properties can be defined in a gwen.properties
file in your local user home directory. Gwen will automatically load all properties defined in this file (if you create it) and make them available to your features at runtime. Properties defined in this file will override all other properties of the same name defined in other properties files that may be passed to Gwen through the -p
or --properties
launch option. They will not however, override system properties passed to Gwen through -D
JVM arguments. Systems properties will always have precedence over all other properties.
You can define any properties you like in this file and referenced them in your features using one of the string interpolation mechanisms that Gwen provides. This includes arbitrary user properties and runtime settings.