I am testing SQL scripts deployment automation using VSTS, the cycle I am following to test if my release cycle is working for different scenarios is as follow,
- Make changes to SQL Project in VS, build and push to VSTS repo
- Make changes to release steps for deploy dacpac if required
- Create a new release
- Deploy and repeat for redeploy
I have to test lots of scenarios including but not limited to followings,
- Add a new table to sql project and test if it works
- Delete a column and rollback changes if something goes wrong
- Modify column and check if any data loss happens...
- etc..