Building Configuration Hierarchy and Overriding
Explore how to design and implement a configuration hierarchy for test automation frameworks. Understand the overriding process using default files, project-specific files, and JVM arguments to manage configurable parameters effectively.
We'll cover the following...
We'll cover the following...
Configuration hierarchy overview #
- The framework should bundle the default value for all the configurable parameters in a configuration file.
- These default values should be overridable from a project-specific configuration file.
- These project-specific configuration parameters should be overridable by passing as a JVM argument (i.e.,
-Dkey=value).