From the course: Visual Studio App Center for Developers
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Add an automated test to the build - Visual Studio Tutorial
From the course: Visual Studio App Center for Developers
Add an automated test to the build
- [Instructor] To run a UI Automation test, we need to create a new shell script to run our app center CLA commands, so I'm going to go up to File and New File. And under Misc we're going to look at Empty Text File and we're going to call that App Center Post Build and we're going to call it this because we need it to run after the build is complete. And now we'll click New. Our script will need to log in so let's do that. I'm going to type in appcenter login and give it the token. And we're going to use that same variable we set up inside our build configuration for QA so that's VSAC_Token. By using the login command we're going to be able to issue potentially several different app center CLI commands within the same script. Over in this script we only need one. We're going to go over to the app center portal to create a new test run. So inside the app center portal we'll go to Test like we did before, and New Test Run. We'll select an iPhone 7 select this one device, Xamarin UITest…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.