Mobile DevOps by Rohin Tak

Mobile DevOps by Rohin Tak

Author:Rohin Tak
Language: eng
Format: epub
Tags: COM060080 - COMPUTERS / Web / General, COM011000 - COMPUTERS / Systems Architecture / General, COM091000 - COMPUTERS / Cloud Computing
Publisher: Packt Publishing
Published: 2018-03-28T13:18:52+00:00


Understanding the AAA pattern

The Arrange-Act-Assert (AAA) pattern should be followed when writing a UITest, to achieve the best results and fast feedback from the test. As the name suggests, it consists of three steps:

Arrange: Eponymously, this step contains all the actions that help arrange the test, for example, initialization of things required later while running the test, setting up the environment, and much more.

Act: This is when the test performs the desired interaction with the application, such as entering text, pushing a button, and so on.

Assert: Assert is when our UITest asserts whether the interaction gave us the desired outcome or not, such as verifying that an error message was displayed.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.