8.5 C
New York
Saturday, March 2, 2024

JetBrains Compose Multiplatform debuts UI testing API


JetBrains has launched Compose Multiplatform 1.6.0, an improve to the corporate’s declarative UI framework that introduces a UI testing API and improves the widespread sources API. Compose Multiplatform permits builders to construct UIs for Android, iOS, desktop, and internet from a shared code base.

Compose Multiplatform 1.6.0 was unveiled on February 28. Directions for getting began with Compose Multiplatform may be discovered at jetbrains.com.

The replace contains a widespread API for UI testing. This experimental API permits builders to jot down widespread UI checks that validate the habits of an utility’s person interface throughout platforms supported by the framework. For instance, builders may need to be sure that a customized element accurately reveals an informative string with the right prefix. The brand new model of Compose Multiplatform lets builders use UI checks to validate that the element does accurately prefix the textual content when rendered, JetBrains mentioned.

Compose Multiplatform 1.6.0 additionally brings enhancements to the widespread sources API for sharing and accessing sources in widespread Kotlin code. This API now lets builders entry extra sorts of sources in Compose Multiplatform purposes. Compose Multiplatform now generates type-safe accessors for photographs, fonts, and strings, and permits builders to provision variations of the identical sources for various use instances together with locale, scene density, or theme.

With model 1.6.0, Compose Multiplatform for iOS now permits individuals with disabilities to work together with the Compose UI utilizing the identical gestures the native UIs for navigation and interplay. And display screen readers and VoiceOver can entry the content material of the Multiplatform UI.

Copyright Ā© 2024 IDG Communications, Inc.



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles