DevOps plugin - Options to disable cleaning and rebuild
DevOps plugin for tSQLt is cleaning and rebuilding database prior to running tests.
Since test step usually follows a build step, that just cleaned and rebuild the database, there's no need for the test step do it again.
Add parameter for disabling this?
![](https://secure.gravatar.com/avatar/98a49c910860d435005fec54cdc46f67?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
AdminKendra (Admin, Redgate) commented
Hello, and thank you for this suggestion.
I believe that this suggestion is specific to testing for SQL Change Automation projects (formerly known as ReadyRoll), and not regarding SQL Source Control projects.
For SQL Change Automation projects, we've recently changed the way this is managed and it now gives you more control. There is now a "provisioning" folder in new projects, and in that provisioning folder there is a "create database" command. For projects containing only tests, where you do not wish to perform a clean, you can modify this script.
I believe this resolves this issue so I'm going to mark this as completed, but please let me know if I've misunderstood the suggestion in some way.