Skip to Content
Mobile DevOps
book

Mobile DevOps

by Rohin Tak, Jhalak Modi
March 2018
Intermediate to advanced content levelIntermediate to advanced
376 pages
7h 25m
English
Packt Publishing
Content preview from Mobile DevOps

Tests.cs

This file is the default file that gets created when we add the UITest project in the solution through the Xamarin.UI Android Test Project template, and we will be writing our UI tests in this file. There are certain things to note in this file:

  • [TextFixture]: This is an annotation added to the Tests class that tells the UITest framework that this class contains tests to be run.
  • [Setup]: Each class containing tests needs to set up an initial configuration, as with the APK file path in the previous section. This is added to the BeforeEachTest() method and tells the framework to run this method and perform the initial setup before running the test.
  • [Test]: This annotation identifies the method that contains the test.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese
Java Security

Java Security

Scott Oaks

Publisher Resources

ISBN: 9781788296243Supplemental Content