Closed mr-archano closed 7 years ago
are the
assertKeysAreThere
tests redundant since you're testing the values using the keys?
Good point. I thought I just wanted to ensure the enumeration of keys would still work, but technically the other tests are already catching any misbehaviour 👍
Scope of the PR
We want to ensure that tests capture the possibility of defining build properties from project properties (including properties provided via the command line as
-Pkey=value
).Considerations/Implementation Details
The sample project (and its integration test) have been updated to document the possibility of override a property via command line. Also
BuildPropertiesTest
is now collecting examples of possible inputs for theBuildProperties.from()
utility (Map<String, ?>
,System.getenv()
andproject.properties
).