Package com.aventstack.chaintest.conf
Class Configuration
java.lang.Object
com.aventstack.chaintest.conf.Configuration
ChainTest allows you to load externalized configuration from properties files,
environment variables and system properties using the following order:
- application.properties
- application-test.properties
- test.properties
- config.properties
- chaintest.properties
- OS environment variables
- System.getProperties()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload()voidloadFromClasspathResource(String resource) voidloadFromProperties(Properties properties)
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
get
-
getConfig
-
load
- Throws:
IOException
-
loadFromClasspathResource
- Throws:
IOException
-
loadFromProperties
-