Comparing provider output plan to published provider

I would like to, during a Testcase, run a plan against a published version of the provider to ensure the plan is empty. This way I can validate that the changes I am making to resource don’t result in a new diff to the downstream user. This would be a manual step ran by a dev if they want to validate this scenario.

I can’t figure out a way to hotswap the provider during the testcase though since for something so complex it appears I would need to supply a ProtoV5ProviderFactories with some complex logic therein. I tried reading the documentation but it seems beyond me. Do you think my ask would be doable? Or am I trying to hard to fit a square peg in a round hole (do something the sdk wasn’t meant to do)?

I believe this issue is tracking this feature request. It’s something we’re interested in supporting, but can’t really support (easily) just yet.