Skip to content

Ability to test whether warnings are raised during test steps #69

Open
@smaeda-ks

Description

@smaeda-ks

SDK version

N/A

Use-cases

Currently, ExpectError field only allows checking errors, not warnings. This makes provider developers hard to test certain scenarios where warnings are expected and want to validate the exact behavior in tests.

Attempted Solutions

N/A

Proposal

N/A

References

https://discuss.hashicorp.com/t/how-to-test-warnings/34259

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions