Testing

Users interact with your app on a variety of levels, from pressing a button to downloading information onto their device. Accordingly, you should test a variety of use cases and interactions as you iteratively develop your app.

Includes knowledge areas

Unit tests

By creating and running unit tests against the code, it can be verified that the logic of individual units is correct. Running unit tests after every build helps quickly catch and fix software regressions introduced by code changes to the app.

Instrumentation tests

Instrumentation test provides a special test execution environment as launched via the am instrument command, where the targeted application process is restarted and initialized with basic application context, and an instrumentation thread is started inside the application process VM.

Mockito

Mockito is a mocking framework, JAVA-based library that is used for effective unit testing of JAVA applications.

Espresso

Espresso is a testing framework for Android to make it easy to write reliable user interface tests. Espresso automatically synchronizes test actions with the user interface of the application.

Is a part of:

Android

Explore

Heading

HeadingHeading

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.