The second Android 11 Developer Preview is now available, test it out and share your feedback.

androidx.room.testing

Classes

MigrationTestHelper

A class that can be used in your Instrumentation tests that can create the database in an older schema.