Automation Testing Framework and/or Best Practices

When mucking around with my automation/scripts/template, I often break something and/or inadvertently trigger something and end up annoying the spouse.

What are community members doing to verify their automatons functionality and/or that integration updates didn’t break something?

I would like a structured way to develop/test automation changes before activating/deploying them.
Ideally I would like a way to ‘mock’ integrations and/or device/entity states then run a script to control these mock’d states and verify the automation’s responses.

It is fine If I need to spin up a dev instance for development/testing but ideally I could do it in the ‘production’ instances as well for small tweaks.

1 Like

I suppose I could just create a script that disables an integration and/or related automations and set entity states/attribures or generate events and such then check the automation responds appropriatly.

I am just hoping there is (or could be) a solution that is a little more integrated / purpose built that could be put into some sort of a CI/DC pipeline.

1 Like

I’d love to hear if you find anything for this.