App testing
You can now use the Build with tests setting to validate that your app is functioning as expected and catch unintended changes before you publish your app to end users. Toggle this setting on from the chat settings or from the debug console.
App testing is currently rolling out to cloud organizations. It is not yet available to self-hosted organizations.
When app testing is enabled, the agent writes or updates tests whenever it adds or changes behavior in your app. By default, the agent writes a small set of behavioral tests. After the agent makes any changes to your app, Retool runs the tests related to those changes. If any of them fail, Retool sends the failures to the agent, which continues working to fix them.