June 2017
Intermediate to advanced
256 pages
5h 38m
English
Most of the tests that we write can be broken into three parts:
Pre-condition takes the app under test to a certain desired state. In our case, it will translate to install the app on the device, log in to the app, and come on the respective screen.
The action will translate to tapping on car category, and searching for a car. Verification will translate to asserting if we have the correct result, as expected.
Post-condition will translate to logging out of the app, cleaning of the app state, and even uninstalling the app.
Cucumber exposes two hooks that take care of running pre-condition and post-condition using the @Before and @After hooks. These hooks ...
Read now
Unlock full access