cloudformation-cli icon indicating copy to clipboard operation
cloudformation-cli copied to clipboard

Merge Inputs and Overrides for Contract Tests

Open advaj opened this issue 4 years ago • 1 comments

Input Files are a good way of entering inputs for contract tests. But we lose the ability to let Python/Hypothesis generate random values for the attributes which are not entered by the user. Instead, all the values that the resource needs should be specified.

This is a feature request to combine both overrides and inputs.json such that we take inputs in only one way (inputs.json) and within this method, allow for randomly generating values which are not entered by the user.

The random generation uncovers a lot of bugs which is great for testing.

advaj avatar Oct 06 '20 11:10 advaj

Thought this was the intended difference between inputs/ and overrides.json

overrides.json specifies property-level overrides, while inputs/ provides all inputs

@advaj are there specific feature(s) present in one missing in the other beyond that intended difference?

PatMyron avatar Jun 02 '21 01:06 PatMyron