From the course: DevOps for the Database with VSTS and Azure
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Add tokenization task to release demo
From the course: DevOps for the Database with VSTS and Azure
Add tokenization task to release demo
- [Narrator] Now that we've got Collin's Library installed, We can come in here and edit our environment. Now I'm going to add a new task to this Agent Phase. I'll search for "Token." Well see there it says "Replace Tokens" task. I'll click add. We'll come back here and we're going to specify that we want to replace tokens in app.config. We can see that the target pattern is set here. But I really don't want to search for all app.configs in my entire solution. I want the very specific one to the unit test. Now the source path normally you can browse here. For some reason it's not working when I recorded this demo so I'll show you how to work around that when it doesn't behave. So we've got this path right here. So let's grab this and go to Notepad and we're going to adjust this a little bit. You'll see right now it's looking down under our Database Project folder and what we really want to do is look under our Unit Test folder. So we'll grab that path. And so we'll change that to look…
Contents
-
-
-
-
-
-
-
-
Why test?59s
-
What makes testing databases different?1m 48s
-
Good test data2m 22s
-
Testing locally with SSDT1m 19s
-
Testing locally with SSDT demo8m 20s
-
Testing as part of release1m 45s
-
Get tokenization task demo3m 7s
-
Add tokenization task to release demo2m 58s
-
Add test task to release demo4m 2s
-
Test locally with TSQLT1m 5s
-
Test locally with Slacker45s
-
Takeaways53s
-
-
-