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

Steps to include in the test

To write an efficient test, certain steps should be followed, based on the AAA pattern discussed earlier:

  • Configure and start the application (Arrange): We need not write this step because that part is already taken care of in the BeforeEachTest() method:
  • Perform an interaction with some element on the screen (Act): We'll have to write code to enter text or tap on the CALL button
  • Verify the desired output (Assert): We need code to verify the interaction gives us the desired output

As we can see, the first step of the test is already done, and now we need to write the next steps, which include performing interaction ...

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