How to test Warnings

Hi,

I started adding some warnings to some of my schema properties via ValidateDiagFunc diag.Diagnostics.
But when I run resource.Test(...) it doesn’t seem to fail on warnings, is there a way to configure it to fail on warnings?

Hi @johnsimons, I checked this internally, but there isn’t an easy way to achieve this, unfortunately. That said, I opened a new issue here: