aws-cloudformation / aws-cloudformation/cloudformation-cli

Allow users to specify different contract test inputs for each individual test / new resource

Open
#656 0 comments 0 reactions 0 assignees View on GitHub
contract tests
Dominant language
Python
Stars
336
Forks
172
Avg merge
3d 5m
Merged PRs (30d)
3

Description

I am developing a resource that requires a real, unique activation key as one of its properties.

I have to override inputs because I need to specify real activation keys; a fake key will be rejected. But, I can only specify a single override value, which causes the same key to be reused across tests when running contract tests using `cfn test`.

I can somewhat get around this by running a single contract test at a time and changing the inputs one at a time.

In this case, it would help if I could specify a set of input values so that a different key is chosen for each resource created by the contract tests, and keys aren't repeated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.