public class JdbcPropertiesOverride extends Object
root
and password p@ssw0rd
.
Simply add a system property when you run the build -Djdbc.override.properties=/path/to/your/file.properties
with the following properties inside the file: driver
, url
, user
, password
.
Values from this file will override hard-coded values during tests.
THIS CLASS USED IN TESTS ONLYModifier and Type | Method and Description |
---|---|
static String |
driver() |
static String |
password() |
static String |
url() |
static String |
user() |
Copyright © 2020 JavaLite. All rights reserved.