تست
این جدول تمام مصنوعات موجود در گروه androidx.test را فهرست میکند.
| مصنوع | انتشار پایدار | کاندیدای انتشار | انتشار بتا | انتشار آلفا |
|---|---|---|---|---|
| حاشیه نویسی | ۱.۰.۱ | - | - | ۱.۱.۰-آلفا۰۴ |
| هسته | ۱.۷.۰ | ۱.۷.۰-rc01 | - | - |
| اسپرسو | ۳.۷.۰ | ۳.۷.۰-rc01 | - | - |
| دستگاه اسپرسو | ۱.۱.۰ | ۱.۱.۰-rc01 | - | - |
| ex.junit | ۱.۳.۰ | ۱.۳.۰-rc01 | - | - |
| ext:junit-gtest | - | - | - | ۱.۰.۰-آلفا۰۳ |
| حقیقت بیرونی | ۱.۷.۰ | ۱.۷.۰-rc01 | - | - |
| مانیتور | ۱.۸.۰ | - | - | ۱.۹.۰-آلفا۰۱ |
| ارکستراتور | ۱.۶.۱ | ۱.۶.۰-rc01 | - | - |
| دونده | ۱.۷.۰ | ۱.۷.۰-rc01 | - | - |
| قوانین | ۱.۷.۰ | ۱.۷.۰-rc01 | - | - |
| خدمات | ۱.۶.۰ | ۱.۶.۰-rc01 | - | - |
اعلام وابستگیها
برای افزودن یک وابستگی به androidx.test، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر ، مخزن Maven گوگل را مطالعه کنید.
وابستگیهای مربوط به مصنوعات مورد نیاز خود را در فایل build.gradle برای برنامه یا ماژول خود اضافه کنید:
شیار
dependencies { // To use the androidx.test.core APIs androidTestImplementation "androidx.test:core:1.7.0" // Kotlin extensions for androidx.test.core androidTestImplementation "androidx.test:core-ktx:1.7.0" // To use the androidx.test.espresso androidTestImplementation "androidx.test.espresso:espresso-core:3.7.0" // To use the JUnit Extension APIs androidTestImplementation "androidx.test.ext:junit:1.3.0" // Kotlin extensions for androidx.test.ext.junit androidTestImplementation "androidx.test.ext:junit-ktx:1.3.0" // To use the Truth Extension APIs androidTestImplementation "androidx.test.ext:truth:1.7.0" // To use the androidx.test.runner APIs androidTestImplementation "androidx.test:runner:1.7.0" // To use android test orchestrator androidTestUtil "androidx.test:orchestrator:1.6.1" }
کاتلین
dependencies { // To use the androidx.test.core APIs androidTestImplementation("androidx.test:core:1.7.0") // Kotlin extensions for androidx.test.core androidTestImplementation("androidx.test:core-ktx:1.7.0") // To use the androidx.test.espresso androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0") // To use the JUnit Extension APIs androidTestImplementation("androidx.test.ext:junit:1.3.0") // Kotlin extensions for androidx.test.ext.junit androidTestImplementation("androidx.test.ext:junit-ktx:1.3.0") // To use the Truth Extension APIs androidTestImplementation("androidx.test.ext:truth:1.7.0") // To use the androidx.test.runner APIs androidTestImplementation("androidx.test:runner:1.7.0") // To use android test orchestrator androidTestUtil("androidx.test:orchestrator:1.6.1") }
برای اطلاعات بیشتر در مورد وابستگیها، به بخش «افزودن وابستگیهای ساخت» مراجعه کنید.
بازخورد
بازخورد شما به بهبود Jetpack کمک میکند. اگر مشکلات جدیدی کشف کردید یا ایدههایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد یک کتابخانه جدید، نگاهی به مشکلات موجود در این کتابخانه بیندازید. میتوانید با کلیک بر روی دکمه ستاره، رأی خود را به یک مشکل موجود اضافه کنید.
برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.
حاشیهنویسی ۱.۱.۰
حاشیهنویسی ۱.۱.۰-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test:annotation:1.1.0-alpha04} منتشر شد.
حاشیهنویسی ۱.۱.۰-alpha03
۲۶ ژانویه ۲۰۲۴
androidx.test:annotation:1.1.0-alpha03} منتشر شد.
تغییرات API
- آشکار کردن ExperimentalTestApi
حاشیهنویسی ۱.۱.۰-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test:annotation:1.1.0-alpha02} منتشر شد.
تغییرات API
- minSdkVersion اکنون ۱۹ و targetSdkVersion اکنون ۳۴ است.
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
حاشیهنویسی ۱.۱.۰-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:annotation:1.1.0-alpha01 منتشر شد.
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۲۲
- بهروزرسانی عمدهی زنجیرهی ابزار: اکنون به بایتکد جاوا۸ کامپایل شده است
حاشیهنویسی ۱.۰.۱
حاشیهنویسی ۱.۰.۱
۸ نوامبر ۲۰۲۲
androidx.test:annotation:1.0.1 منتشر شد.
تغییرات از نسخه ۱.۰.۰ شامل موارد زیر است:
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۱۰
حاشیهنویسی ۱.۰.۱-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:annotation:1.0.1-rc01 منتشر شد.
حاشیهنویسی ۱.۰.۱-بتا۰۱
۶ اکتبر ۲۰۲۲
androidx.test:annotation:1.0.1-beta01 منتشر شد.
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۱۰
حاشیهنویسی ۱.۰.۱-alpha01
۱ ژوئن ۲۰۲۲
androidx.test:annotation:1.0.1-alpha01 منتشر شد.
رفع اشکالات
- برای جلوگیری از IncompatibleClassChangeErrors به javac 11 برگردید [#1351]
حاشیهنویسی ۱.۰.۰
حاشیهنویسی ۱.۰.۰
۱۳ دسامبر ۲۰۲۱
androidx.test:annotation:1.0.0 منتشر شد.
مصنوع جدید، در حال حاضر برای استفاده داخلی androidx.test.
حاشیهنویسی ۱.۰.۰-rc01
۱۸ نوامبر ۲۰۲۱
androidx.test:annotation:1.0.0-rc01 منتشر شد.
حاشیهنویسی ۱.۰.۰-بتا۰۱
۸ نوامبر ۲۰۲۱
androidx.test:annotation:1.0.0-beta01 منتشر شد.
حاشیهنویسی ۱.۰.۰-alpha02
۴ اکتبر ۲۰۲۱
androidx.test:annotation:1.0.0-alpha02 منتشر شد.
حاشیهنویسی ۱.۰.۰-alpha01
۲۸ سپتامبر ۲۰۲۱
androidx.test:annotation:1.0.0-alpha01 منتشر شد.
تغییرات API
- حاشیهنویسیهای جدید ExperimentalTestApi و InternalTestApi را اضافه کنید
هسته ۱.۷.۰
هسته Core-ktx 1.7.0
۳۰ ژوئیه ۲۰۲۵
androidx.test:core:1.7.0 و androidx.test:core-ktx:1.7.0 منتشر شدند.
تغییرات از آخرین نسخه پایدار ۱.۶.۰ شامل موارد زیر است:
رفع اشکالات
- رفع مشکل مدیریت
RectدرViewCaptureبرای SDK >= 34 برای نماهای غیر روت. - رفع اشکال گزارش کد وضعیت هنگام عدم موفقیت PixelCopy در ViewCapture.generateBitmapFromPixelCopy.
- بهبود متن پیام خطا.
تغییرات API
- بهروزرسانی به minSdkVersion 21
بهروزرسانیهای وابستگی
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- اندروید ایکس. قراردادهای آتی همزمان ۱.۲.۰
- کاتلین ۱.۹.۰
- کوروتینهای کاتلین ۱.۱۰.۱
هسته Core-ktx 1.7.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test:core:1.7.0-rc01 و androidx.test:core-ktx:1.7.0-rc01 منتشر شدند.
هسته Core-ktx 1.7.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test:core:1.7.0-beta01 و androidx.test:core-ktx:1.7.0-beta01 منتشر شدند.
هسته Core-ktx 1.7.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test:core:1.7.0-alpha03 و androidx.test:core-ktx:1.7.0-alpha03 منتشر شدند.
رفع اشکالات
- به کاتلین ۱.۹ دانگرید کنید
هسته Core-ktx 1.7.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test:core:1.7.0-alpha02 و androidx.test:core-ktx:1.7.0-alpha02 منتشر شدند.
رفع اشکالات
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- اندروید ایکس. قراردادهای آتی همزمان ۱.۲.۰
- کاتلین ۲.۱.۰
- کوروتینهای کاتلین ۱.۱۰.۱
هسته Core-ktx 1.7.0-alpha01
۳ فوریه ۲۰۲۵
androidx.test:core:1.7.0-alpha01 و androidx.test:core-ktx:1.7.0-alpha01 منتشر شدند.
رفع اشکالات * رفع مشکل مدیریت Rect در ViewCapture برای SDK >= 34 برای نماهای غیر روت. * رفع اشکال گزارش کد وضعیت هنگام عدم موفقیت PixelCopy در ViewCapture.generateBitmapFromPixelCopy. * بهبود متن پیام خرابی.
تغییرات API
- بهروزرسانی به minSdkVersion 21
هسته Core-ktx 1.6.1
۲۶ ژوئن ۲۰۲۴
androidx.test:core:1.6.1 و androidx.test:core-ktx:1.6.1 منتشر شدند.
هسته Core-ktx 1.6.0
۲۴ ژوئن ۲۰۲۴
androidx.test:core:1.6.0 و androidx.test:core-ktx:1.6.0 منتشر شدند.
تغییرات از آخرین نسخه پایدار ۱.۵.۰ شامل موارد زیر است:
تغییرات API
- ApplicationInfoBuilder.setFlags(int) اضافه شد.
- APIهای جدید سطح پایینتر برای گرفتن اسکرینشات View.captureToBitmap، WindowCapture.captureToBitmap، Bitmap.writeToTestStorage و DeviceCapture.takeScreenshot را اضافه کنید.
رفع اشکالات
- وابستگی androidx.test.annotation استفاده نشده را حذف کنید
- رفع مشکل استفاده از ActivityScenario#launchActivityForResult با یک Intent ضمنی
- مستندات مرجع سناریوی فعالیت را برای رفع پیوندهای مفقود شده بهروزرسانی کنید
- حذف تمام پشتیبانیها برای SDK های اندروید زیر ۱۹. حداقل API 19 است (اندروید کیت کت ۴.۴)
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
- شروع فعالیتها به طور خودکار انتخاب میشود تا وقتی targetSdk >= 34 باشد، فعالیت پسزمینه شروع شود.
- رفع مشکلی که باعث میشد Activity#isChangingConfigurations در طول ActivityScenario#recreate به اشتباه false باشد.
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
- بهروزرسانی عمدهی زنجیرهی ابزار: اکنون به بایتکد جاوا۸ کامپایل شده است
هسته Core-ktx 1.6.0-rc01
۳۰ مه ۲۰۲۴
androidx.test:core:1.6.0-rc01 و androidx.test:core-ktx:1.6.0-rc01 منتشر شدند.
هسته Core-ktx 1.6.0-beta01
۱۶ مه ۲۰۲۴
androidx.test:core:1.6.0-beta01 و androidx.test:core-ktx:1.6.0-beta01 منتشر شدند.
رفع اشکالات
- وابستگی androidx.test.annotation استفاده نشده را حذف کنید
- به androidx.concurrent 1.1.0 برگردید
هسته Core-ktx 1.6.0-alpha06
۲۶ آوریل ۲۰۲۴
androidx.test:core:1.6.0-alpha06 و androidx.test:core-ktx:1.6.0-alpha06 منتشر شدند.
رفع اشکالات
- بررسی Roboelectric نشان میدهد که ViewCapture به جای کدنویسی سخت، از API ControlledLooper استفاده میکند.
- رفع مشکل استفاده از ActivityScenario#launchActivityForResult با یک Intent ضمنی
تغییرات API
- ApplicationInfoBuilder.setFlags(int) اضافه شد.
- نسخههای تابع suspend از APIهای ViewCapture/WindowCapture/DeviceCapture را ایجاد کنید،
و متدهای موجود را به عنوان انواع *Async که ListenableFutures را برمیگردانند، تغییر نام دهید. - Bitmap.writeToTestStorage را طوری تنظیم کنید که به جای کدگذاری سخت TestStorage، از PlatformTestStorage ثبتشده استفاده کند.
- محدودیتهای ExperimentalTestApi/RequiresOptIn را از APIهای captureToBitmap و takeScreenshot حذف کنید
هسته Core-ktx 1.6.0-alpha05
۲۶ ژانویه ۲۰۲۴
androidx.test:core:1.6.0-alpha05 و androidx.test:core-ktx:1.6.0-alpha05 منتشر شدند.
رفع اشکالات
- مستندات مرجع سناریوی فعالیت را برای رفع پیوندهای مفقود شده بهروزرسانی کنید
- حذف تمام پشتیبانیها برای SDK های اندروید زیر ۱۹. حداقل API 19 است (اندروید کیت کت ۴.۴)
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
هسته Core-ktx 1.6.0-alpha04
۵ دسامبر ۲۰۲۳
androidx.test:core:1.6.0-alpha04 و androidx.test:core-ktx:1.6.0-alpha04 منتشر شدند.
رفع اشکالات
- شروع فعالیتها به طور خودکار انتخاب میشود تا وقتی targetSdk >= 34 باشد، فعالیت پسزمینه شروع شود.
هسته Core-ktx 1.6.0-alpha03
۲۹ نوامبر ۲۰۲۳
androidx.test:core:1.6.0-alpha03 و androidx.test:core-ktx:1.6.0-alpha03 منتشر شدند.
رفع اشکالات
- رفع خطای ActivityScenario.launchActivityWithResult زمانی که targetSdk = 34 باشد
تغییرات API
- targetSdkVersion اکنون 34 است
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
هسته Core-ktx 1.6.0-alpha02
۱۸ سپتامبر ۲۰۲۳
androidx.test:core:1.6.0-alpha02 و androidx.test:core-ktx:1.6.0-alpha02 منتشر شدند.
ویژگیها * ViewCapture بهروزرسانی شد تا یک Rect اختیاری را بپذیرد تا بتواند برای Compose کار کند.
رفع اشکالات
- رفع مشکلی که باعث میشد Activity#isChangingConfigurations در طول ActivityScenario#recreate به اشتباه false باشد.
- انتقال UIAutomation#takeScreenshot باعث میشود که رشته اصلی از کار بیفتد.
- رفع مشکل captureToBitmap برای نمایشهای داخل یک دیالوگ در APIهای >= 26.
تغییرات وابستگی * minSdkVersion اکنون ۱۹ است
هسته Core-ktx 1.6.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:core:1.6.0-alpha01 و androidx.test:core-ktx:1.6.0-alpha01 منتشر شدند.
ویژگیها * پشتیبانی اولیه از robolectric به ViewCapture.captureToBitmap اضافه شد
رفع اشکالات
- رفع مشکل captureToBitmap برای DecorViewها
- تلاش برای بهبود قابلیت اطمینان DeviceCapture با تلاش مجدد برای گرفتن عکس از صفحه
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۲۲
- بهروزرسانی عمدهی زنجیرهی ابزار: اکنون به بایتکد جاوا۸ کامپایل شده است
- بهروزرسانی به androidx.test:monitor:1.70-alpha01
هسته ۱.۵.۰
هسته Core-ktx 1.5.0
۸ نوامبر ۲۰۲۲
androidx.test:core:1.5.0 و androidx.test:core-ktx:1.5.0 منتشر شدند.
تغییرات از نسخه ۱.۴.۰ شامل موارد زیر است:
ویژگیهای جدید
- ثبت بازههای ردیابی اندروید برای راهاندازی و بسته شدن ActivityScenario.
- اضافه شدن APIهای آزمایشی جدید برای اسکرینشاتها. این APIها به طور خودکار بالاترین دقت را برای گرفتن اسکرینشات بر اساس سطح API پلتفرم انتخاب میکنند و از تصاویر شبیهساز دستگاه تست خودکار (ATD) پشتیبانی میکنند.
- تابع الحاقی View.captureToBitmap
- تابع الحاقی Window.captureRegionToBitmap
- گرفتن اسکرینشات()
- اضافه کردن API آزمایشی Bitmap.writeToTestStorage
تغییرات API
- API مربوط به ActivityScenario#launchActivityForResult را اضافه کنید و ActivityScenario#launch را تغییر دهید تا استفاده از Bootstrap Activity API حذف شود. این تغییر باید عملکرد و پایداری ActivityScenario#launch را بهبود بخشد. ActivityScenario#getResult اکنون اعمال میکند که فقط میتوان از آن با ActivityScenario#launchActivityForResult استفاده کرد.
رفع اشکالات
- رفع مشکل ActivityScenario#launch هنگام هدفگیری و اجرا روی اندروید ۳۳
- برای ردیابی زمانهای انقضای ActivityScenario، به جای currentTimeMillis از elapsedRealtime استفاده کنید.
- مشکل ActivityScenario در شروع یک Activity از intent با نام بسته در تستهای self-instrumenting برطرف شد.
- با استفاده از پسزمینه سفید ساده و غیرفعال کردن انیمیشنهای انتقال در فعالیتهای داخلی، سربار ActivityScenario را کاهش دهید.
تغییرات وابستگی
- بهروزرسانی به
- کاتلین stdlib نسخه ۱.۷.۱۰
- androidx.lifecycle:lifecycle-common:2.3.1
- androidx.annotation:annotation:1.2.0
- اضافه کردن
- androidx.test.services:storage:1.4.2
- com.google.guava:listenablefuture:1.0
- androidx.concurrent:concurrent-futures:1.1.0
هسته Core-ktx 1.5.0-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:core:1.5.0-rc01 و androidx.test:core-ktx:1.5.0-rc01 منتشر شدند.
هسته Core-ktx 1.5.0-beta01
۶ اکتبر ۲۰۲۲
androidx.test:core:1.5.0-beta01 و androidx.test:core-ktx:1.5.0-beta01 منتشر شدند.
تغییرات API
- حاشیهنویسی APIهای جدید با NonNull/Nullable
هسته Core-ktx 1.5.0-alpha02
۲۲ آگوست ۲۰۲۲
androidx.test:core:1.5.0-alpha02 و androidx.test:core-ktx:1.5.0-alpha02 منتشر شدند.
تغییرات API
- برای حذف استفاده از Bootstrap Activity API، ActivityScenario#launch را اصلاح کنید. این تغییر باید عملکرد و پایداری ActivityScenario#launch را بهبود بخشد. ActivityScenario#getResult اکنون اعمال میکند که فقط میتوان از آن با ActivityScenario#launchActivityForResult استفاده کرد.
رفع اشکالات
- رفع مشکل ActivityScenario#launch هنگام هدفگیری و اجرا روی اندروید T
- برای ردیابی زمانهای انقضای ActivityScenario، به جای currentTimeMillis از elapsedRealtime استفاده کنید.
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۱۰
هسته Core-ktx 1.5.0-alpha01
۲۱ ژوئن ۲۰۲۲
androidx.test:core:1.5.0-alpha01 و androidx.test:core-ktx:1.5.0-alpha01 منتشر شدند.
تغییرات API
- API مربوط به ActivityScenario#launchActivityForResult را اضافه کنید. این API هنگام بازیابی نتایج فعالیت، جایگزین استفاده از ActivityScenario#launch خواهد شد.
هسته ۱.۴.۱
هسته Core-ktx 1.4.1-alpha07
۱ ژوئن ۲۰۲۲
androidx.test:core:1.4.1-alpha07 و androidx.test:core-ktx:1.4.1-alpha07 منتشر شدند.
رفع اشکالات
- برای جلوگیری از IncompatibleClassChangeErrors به javac 11 برگردید [#1351]
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۶.۲۱
هسته Core-ktx 1.4.1-alpha06
۲۸ آوریل ۲۰۲۲
androidx.test:core:1.4.1-alpha06 و androidx.test:core-ktx:1.4.1-alpha06 منتشر شدند.
رفع اشکال * مشکل ActivityScenario در شروع یک Activity از intent با نام بسته در تستهای self-instrumenting برطرف شد.
هسته Core-ktx 1.4.1-alpha05
۲۱ مارس ۲۰۲۲
androidx.test:core:1.4.1-alpha05 و androidx.test:core-ktx:1.4.1-alpha05 منتشر شدند.
هسته Core-ktx 1.4.1-alpha04
۱۱ فوریه ۲۰۲۲
androidx.test:core:1.4.1-alpha04 و androidx.test:core-ktx:1.4.1-alpha04 منتشر شدند.
ویژگیهای جدید
- ثبت بازههای ردیابی اندروید برای راهاندازی و بسته شدن ActivityScenario.
تغییرات وابستگی
- وابستگی androidx.tracing را اضافه کنید
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۶.۱۰
هسته Core-ktx 1.4.1-alpha03
۴ اکتبر ۲۰۲۱
androidx.test:core:1.4.1-alpha03 و androidx.test:core-ktx:1.4.1-alpha03 منتشر شدند.
رفع اشکالات
- رفع مشکل نمایش افزونههای View.captureToBitmap و Window.captureRegionToBitmap
- اضافه کردن مدیریت بهتر خطاها به متدهای Bitmap.writeToTestStorage و اسکرین شات
هسته Core-ktx 1.4.1-alpha02
۲۸ سپتامبر ۲۰۲۱
androidx.test:core:1.4.1-alpha02 و androidx.test:core-ktx:1.4.1-alpha02 منتشر شدند.
ویژگیهای جدید
- اضافه کردن API های آزمایشی جدید برای اسکرین شات ها:
- تابع الحاقی View.captureToBitmap
- تابع الحاقی Window.captureRegionToBitmap
- گرفتن اسکرینشات()
- اضافه کردن API آزمایشی Bitmap.writeToTestStorage
تغییرات وابستگی
- اضافه کردن وابستگیها به
- کاتلین stdlib نسخه ۱.۵.۳۱
- androidx.test.services:storage:1.4.1-alpha02
- com.google.guava:listenablefuture:1.0
- androidx.concurrent:concurrent-futures:1.1.0
- نسخههای وابستگی را بهروزرسانی کنید
- androidx.lifecycle:lifecycle-common:2.3.1
- androidx.annotation:annotation:1.2.0
هسته Core-ktx 1.4.1-alpha01
۲۳ آگوست ۲۰۲۱
androidx.test:core:1.4.1-alpha01 و androidx.test:core-ktx:1.4.1-alpha01 منتشر شدند.
رفع اشکالات
- با استفاده از پسزمینه سفید ساده و غیرفعال کردن انیمیشنهای انتقال در فعالیتهای داخلی، سربار ActivityScenario را کاهش دهید.
تغییرات وابستگی
- -ktx: به طور صریح به kotlin stdlib 1.4.30 وابسته است
اسپرسو ۳.۷.۰
اسپرسو ۳.۷.۰
۳۰ ژوئیه ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0 -
androidx.test.espresso:espresso-core:3.7.0 -
androidx.test.espresso:espresso-contrib:3.7.0 -
androidx.test.espresso:espresso-idling-resource:3.7.0 -
androidx.test.espresso:espresso-intents:3.7.0 -
androidx.test.espresso:espresso-remote:3.7.0 -
androidx.test.espresso:espresso-web:3.7.0 -
androidx.test.espresso.idling:idling-concurrent:3.7.0 -
androidx.test.espresso.idling:idling-net:3.7.0
تغییرات از آخرین نسخه پایدار ۳.۶.۱ شامل موارد زیر است:
رفع اشکالات
- رفع مشکل بنبست در اسپرسو در Robolectric INSTRUMENTATION_TEST + looper متوقف شده.
- دسترسی MessageQueue مربوط به espresso را به کلاس TestLooperManagerCompat بازنویسی کنید و در صورت وجود از APIهای جدید TestLooperManager استفاده کنید.
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- اندروید ایکس. قراردادهای آتی همزمان ۱.۲.۰
- کاتلین ۱.۹.۰
- فقط TestLooperManager مربوط به Looper اصلی را در طول بازجویی نگه دارید.
- رفع مشکل شماره ۲۳۴۹، که در آن چند پردازشی + چرخشهای مختلف روی ۲ فعالیت، هنگام انتظار برای چرخش رابط کاربری، فوراً دچار وقفه زمانی میشد.
- به جای InputManager.getInstance انعکاسی، از getSystemService استفاده کنید.
تغییرات API
- بهروزرسانی به minSdkVersion 21
اسپرسو ۳.۷.۰-rc01
۱۴ ژوئیه ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-rc01 -
androidx.test.espresso:espresso-core:3.7.0-rc01 -
androidx.test.espresso:espresso-contrib:3.7.0-rc01 -
androidx.test.espresso:espresso-idling-resource:3.7.0-rc01 -
androidx.test.espresso:espresso-intents:3.7.0-rc01 -
androidx.test.espresso:espresso-remote:3.7.0-rc01 -
androidx.test.espresso:espresso-web:3.7.0-rc01 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-rc01 -
androidx.test.espresso.idling:idling-net:3.7.0-rc01
اسپرسو ۳.۷.۰-بتا۰۱
۳۰ ژوئن ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-beta01 -
androidx.test.espresso:espresso-core:3.7.0-beta01 -
androidx.test.espresso:espresso-contrib:3.7.0-beta01 -
androidx.test.espresso:espresso-idling-resource:3.7.0-beta01 -
androidx.test.espresso:espresso-intents:3.7.0-beta01 -
androidx.test.espresso:espresso-remote:3.7.0-beta01 -
androidx.test.espresso:espresso-web:3.7.0-beta01 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-beta01 -
androidx.test.espresso.idling:idling-net:3.7.0-beta01
اسپرسو ۳.۷.۰-آلفا۰۴
۱۳ ژوئن ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-alpha04 -
androidx.test.espresso:espresso-core:3.7.0-alpha04 -
androidx.test.espresso:espresso-contrib:3.7.0-alpha04 -
androidx.test.espresso:espresso-idling-resource:3.7.0-alpha04 -
androidx.test.espresso:espresso-intents:3.7.0-alpha04 -
androidx.test.espresso:espresso-remote:3.7.0-alpha04 -
androidx.test.espresso:espresso-web:3.7.0-alpha04 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-alpha04 -
androidx.test.espresso.idling:idling-net:3.7.0-alpha04
رفع اشکالات
- رفع مشکل شماره ۲۳۴۹، که در آن چند پردازشی + چرخشهای مختلف روی ۲ فعالیت، هنگام انتظار برای چرخش رابط کاربری، فوراً دچار وقفه زمانی میشد.
- به جای InputManager.getInstance انعکاسی، از getSystemService استفاده کنید.
اسپرسو ۳.۷.۰-آلفا۰۳
۲۳ آوریل ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-alpha03 -
androidx.test.espresso:espresso-core:3.7.0-alpha03 -
androidx.test.espresso:espresso-contrib:3.7.0-alpha03 -
androidx.test.espresso:espresso-idling-resource:3.7.0-alpha03 -
androidx.test.espresso:espresso-intents:3.7.0-alpha03 -
androidx.test.espresso:espresso-remote:3.7.0-alpha03 -
androidx.test.espresso:espresso-web:3.7.0-alpha03 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-alpha03 -
androidx.test.espresso.idling:idling-net:3.7.0-alpha03
رفع اشکالات
- به کاتلین ۱.۹ دانگرید کنید
- فقط TestLooperManager مربوط به Looper اصلی را در طول بازجویی نگه دارید.
اسپرسو ۳.۷.۰-آلفا۰۲
۲۷ مارس ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-alpha02 -
androidx.test.espresso:espresso-core:3.7.0-alpha02 -
androidx.test.espresso:espresso-contrib:3.7.0-alpha02 -
androidx.test.espresso:espresso-idling-resource:3.7.0-alpha02 -
androidx.test.espresso:espresso-intents:3.7.0-alpha02 -
androidx.test.espresso:espresso-remote:3.7.0-alpha02 -
androidx.test.espresso:espresso-web:3.7.0-alpha02 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-alpha02 -
androidx.test.espresso.idling:idling-net:3.7.0-alpha02
رفع اشکالات
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- اندروید ایکس. قراردادهای آتی همزمان ۱.۲.۰
- کاتلین ۲.۱.۰
اسپرسو ۳.۷.۰-آلفا۰۱
۳ فوریه ۲۰۲۵
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.7.0-alpha01 -
androidx.test.espresso:espresso-core:3.7.0-alpha01 -
androidx.test.espresso:espresso-contrib:3.7.0-alpha01 -
androidx.test.espresso:espresso-idling-resource:3.7.0-alpha01 -
androidx.test.espresso:espresso-intents:3.7.0-alpha01 -
androidx.test.espresso:espresso-remote:3.7.0-alpha01 -
androidx.test.espresso:espresso-web:3.7.0-alpha01 -
androidx.test.espresso.idling:idling-concurrent:3.7.0-alpha01 -
androidx.test.espresso.idling:idling-net:3.7.0-alpha01
رفع اشکالات
- رفع مشکل بنبست در اسپرسو در Robolectric INSTRUMENTATION_TEST + looper متوقف شده.
- دسترسی MessageQueue مربوط به espresso را به کلاس TestLooperManagerCompat بازنویسی کنید و در صورت وجود از APIهای جدید TestLooperManager استفاده کنید.
تغییرات API
- بهروزرسانی به minSdkVersion 21
اسپرسو ۳.۶.۱
۲۶ ژوئن ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.1 -
androidx.test.espresso:espresso-core:3.6.1 -
androidx.test.espresso:espresso-contrib:3.6.1 -
androidx.test.espresso:espresso-idling-resource:3.6.1 -
androidx.test.espresso:espresso-intents:3.6.1 -
androidx.test.espresso:espresso-remote:3.6.1 -
androidx.test.espresso:espresso-web:3.6.1 -
androidx.test.espresso.idling:idling-concurrent:3.6.1 -
androidx.test.espresso.idling:idling-net:3.6.1
رفع اشکالات
- نسخه accessibilitytestframework را به ۳.۱.۲ ارتقا دهید (به عقب).
اسپرسو ۳.۶.۰
۲۴ ژوئن ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0 -
androidx.test.espresso:espresso-core:3.6.0 -
androidx.test.espresso:espresso-contrib:3.6.0 -
androidx.test.espresso:espresso-idling-resource:3.6.0 -
androidx.test.espresso:espresso-intents:3.6.0 -
androidx.test.espresso:espresso-remote:3.6.0 -
androidx.test.espresso:espresso-web:3.6.0 -
androidx.test.espresso.idling:idling-concurrent:3.6.0 -
androidx.test.espresso.idling:idling-net:3.6.0
تغییرات از آخرین نسخه پایدار ۳.۵.۱ شامل موارد زیر است:
رفع اشکالات
- وابستگی androidx.test.annotation استفاده نشده را حذف کنید
- رفع مشکل کندی عملیات inRoot در Robolectric
- به جای ارسال مرجع، به طور مداوم از PlatformTestStorageRegistry.getInstance استفاده کنید
- حذف TODO از مستندات عمومی InteractionResponse
- رفع خطای تایپی در پیام خطای AdapterDataLoaderAction
- استفاده از guava را با مجموعهها و inline کردن جاوا جایگزین کنید
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
- حذف تمام پشتیبانیها برای SDK های اندروید زیر ۱۹. حداقل API 19 است (اندروید کیت کت ۴.۴)
- هنگام اجرا در حالت غیر از راه دور، ارسال وظایف خالی به موضوعات پسزمینه را متوقف کنید
- مدیریت بهتر استثنائاتی که ممکن است در فرآیند ثبت سلسله مراتبی و اسکرین شات گرفتن توسط DefaultFailureHandler رخ دهد.
- توضیحات IsPlatformPopup را اصلاح کنید تا با رفتار آن مطابقت داشته باشد.
- اصلاح impl منسوخ شده obtainMovement که از مختصات اشتباه استفاده میکرد.
- لینکهای خراب به junit.org javadoc را با @link جایگزین کنید.
تغییرات API
- افزودن ViewActions.captureToBitmap
- تابع waitForClose را به DrawerActions اضافه کنید.
- کلاس IInteractionExecutionStatus تولید شده را به عنوان RestrictTo LIBRARY_GROUP علامت گذاری کنید
- حذف ExperimentalTestApi از RuntimePermissionStubber
- یک IsActivatedMatcher جدید اضافه میکنیم تا بررسی کنیم که آیا فعال شده است یا خیر.
- باعث میشود Espresso.onIdle() روی نخ اصلی کار کند تا امکان تخلیه نخ اصلی از نخ اصلی فراهم شود.
- minSdkVersion اکنون ۱۹ و targetSdkVersion اکنون ۳۴ است.
- اضافه کردن گزینه scrollTo که امکان پیمایش تا ۹۰+٪ نماهای نمایش داده شده را فراهم میکند
- EspressoOptional را به نفع @Nullable منسوخ کنید.
- اجازه دهید کنترلکنندهی پیشفرض خطای اسپرسو را سفارشیسازی کنیم تا گرفتن اسکرینشات در صورت بروز خطا غیرفعال شود.
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
- بهروزرسانی عمدهی زنجیرهی ابزار:
- کلاسها اکنون به بایتکد java8 کامپایل میشوند
- کامپایلر جاوا به OpenJDK 17 تغییر یافته است. این باید خطای IncompatibleClassChangeErrors را حل کند (https://github.com/android/android-test/issues/1642)
- حذف استفاده داخلی از گواوا، که منجر به کاهش اندازه باینری شد
- رهاسازی aarها دیگر محافظت نمیشود
اسپرسو ۳.۶.۰-rc01
۳۰ مه ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-rc01 -
androidx.test.espresso:espresso-core:3.6.0-rc01 -
androidx.test.espresso:espresso-contrib:3.6.0-rc01 -
androidx.test.espresso:espresso-idling-resource:3.6.0-rc01 -
androidx.test.espresso:espresso-intents:3.6.0-rc01 -
androidx.test.espresso:espresso-remote:3.6.0-rc01 -
androidx.test.espresso:espresso-web:3.6.0-rc01 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-rc01 -
androidx.test.espresso.idling:idling-net:3.6.0-rc01
اسپرسو ۳.۶.۰-بتا۰۱
۱۶ مه ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-beta01 -
androidx.test.espresso:espresso-core:3.6.0-beta01 -
androidx.test.espresso:espresso-contrib:3.6.0-beta01 -
androidx.test.espresso:espresso-idling-resource:3.6.0-beta01 -
androidx.test.espresso:espresso-intents:3.6.0-beta01 -
androidx.test.espresso:espresso-remote:3.6.0-beta01 -
androidx.test.espresso:espresso-web:3.6.0-beta01 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-beta01 -
androidx.test.espresso.idling:idling-net:3.6.0-beta01
رفع اشکالات
- وابستگی androidx.test.annotation استفاده نشده را حذف کنید
اسپرسو ۳.۶.۰-آلفا۰۴
۲۶ آوریل ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-alpha04 -
androidx.test.espresso:espresso-core:3.6.0-alpha04 -
androidx.test.espresso:espresso-contrib:3.6.0-alpha04 -
androidx.test.espresso:espresso-idling-resource:3.6.0-alpha04 -
androidx.test.espresso:espresso-intents:3.6.0-alpha04 -
androidx.test.espresso:espresso-remote:3.6.0-alpha04 -
androidx.test.espresso:espresso-web:3.6.0-alpha04 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-alpha04 -
androidx.test.espresso.idling:idling-net:3.6.0-alpha04
رفع اشکالات
- رفع مشکل کندی عملیات inRoot در Robolectric
- به جای ارسال مرجع، به طور مداوم از PlatformTestStorageRegistry.getInstance استفاده کنید
- حذف TODO از مستندات عمومی InteractionResponse
ویژگیهای جدید
- تابع waitForClose را به DrawerActions اضافه کنید.
تغییرات API
- با تغییرات API ViewCapture سازگار شوید
- ViewInteraction.captureToBitmap را به نفع ViewActions.captureToBitmap حذف کنید و از ExperimentalTestApi به یک API پایدار ارتقا دهید.
اسپرسو ۳.۶.۰-آلفا۰۳
۲۶ ژانویه ۲۰۲۴
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-alpha03 -
androidx.test.espresso:espresso-core:3.6.0-alpha03 -
androidx.test.espresso:espresso-contrib:3.6.0-alpha03 -
androidx.test.espresso:espresso-idling-resource:3.6.0-alpha03 -
androidx.test.espresso:espresso-intents:3.6.0-alpha03 -
androidx.test.espresso:espresso-remote:3.6.0-alpha03 -
androidx.test.espresso:espresso-web:3.6.0-alpha03 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-alpha03 -
androidx.test.espresso.idling:idling-net:3.6.0-alpha03
رفع اشکالات
- رفع خطای تایپی در پیام خطای AdapterDataLoaderAction
- فراخوانیهای کتابخانه stdlib مربوط به Kotlin در جاوا را از espresso حذف کنید.
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
- حذف فراخوانیهای Kotlin StringKt از کد جاوا
- حذف تمام پشتیبانیها برای SDK های اندروید زیر ۱۹. حداقل API 19 است (اندروید کیت کت ۴.۴)
- هنگام اجرا در حالت غیر از راه دور، ارسال وظایف خالی به موضوعات پسزمینه را متوقف کنید
- مدیریت بهتر استثنائاتی که ممکن است در فرآیند ثبت سلسله مراتبی و اسکرین شات گرفتن توسط DefaultFailureHandler رخ دهد.
تغییرات API
- کلاس IInteractionExecutionStatus تولید شده را به عنوان RestrictTo LIBRARY_GROUP علامت گذاری کن.
- حذف ExperimentalTestApi از RuntimePermissionStubber
اسپرسو ۳.۶.۰-آلفا۰۲
۲۹ نوامبر ۲۰۲۳
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-alpha02 -
androidx.test.espresso:espresso-core:3.6.0-alpha02 -
androidx.test.espresso:espresso-contrib:3.6.0-alpha02 -
androidx.test.espresso:espresso-idling-resource:3.6.0-alpha02 -
androidx.test.espresso:espresso-intents:3.6.0-alpha02 -
androidx.test.espresso:espresso-remote:3.6.0-alpha02 -
androidx.test.espresso:espresso-web:3.6.0-alpha02 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-alpha02 -
androidx.test.espresso.idling:idling-net:3.6.0-alpha02
رفع اشکالات
- توضیحات IsPlatformPopup را اصلاح کنید تا با رفتار آن مطابقت داشته باشد.
- اصلاح impl منسوخ شده obtainMovement که از مختصات اشتباه استفاده میکرد.
- لینکهای خراب به junit.org javadoc را با @link جایگزین کنید.
تغییرات API
- یک IsActivatedMatcher جدید اضافه میکنیم تا بررسی کنیم که آیا فعال شده است یا خیر.
- باعث میشود Espresso.onIdle() روی نخ اصلی کار کند تا امکان تخلیه نخ اصلی از نخ اصلی فراهم شود.
- minSdkVersion اکنون ۱۹ و targetSdkVersion اکنون ۳۴ است.
- اضافه کردن گزینه scrollTo که امکان پیمایش تا ۹۰+٪ نماهای نمایش داده شده را فراهم میکند
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
اسپرسو ۳.۶.۰-آلفا۰۱
۲۱ مارس ۲۰۲۳
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.6.0-alpha01 -
androidx.test.espresso:espresso-core:3.6.0-alpha01 -
androidx.test.espresso:espresso-contrib:3.6.0-alpha01 -
androidx.test.espresso:espresso-idling-resource:3.6.0-alpha01 -
androidx.test.espresso:espresso-intents:3.6.0-alpha01 -
androidx.test.espresso:espresso-remote:3.6.0-alpha01 -
androidx.test.espresso:espresso-web:3.6.0-alpha01 -
androidx.test.espresso.idling:idling-concurrent:3.6.0-alpha01 -
androidx.test.espresso.idling:idling-net:3.6.0-alpha01
تغییرات API
- EspressoOptional را به نفع @Nullable منسوخ کنید.
- اجازه دهید کنترلکنندهی پیشفرض خطای اسپرسو را سفارشیسازی کنیم تا گرفتن اسکرینشات در صورت بروز خطا غیرفعال شود.
تغییرات وابستگی
- بهروزرسانی به androidx.test:monitor:1.7.0-alpha01، androidx.test:core:1.6.0-alpha01 و androidx.test:runner:1.6.0-alpha01
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۲۲
- بهروزرسانی عمدهی زنجیرهی ابزار:
- کلاسها اکنون به بایتکد java8 کامپایل میشوند
- کامپایلر جاوا به OpenJDK 11 تغییر یافته است. این باید خطای IncompatibleClassChangeErrors را حل کند (https://github.com/android/android-test/issues/1642)
- حذف استفاده داخلی از guava با استفاده از kotlin stdlib که منجر به کاهش اندازه فایل باینری شد
- رهاسازی aarها دیگر محافظت نمیشود
اسپرسو ۳.۵.۰
اسپرسو ۳.۵.۱
۳ ژانویه ۲۰۲۳
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.1 -
androidx.test.espresso:espresso-core:3.5.1 -
androidx.test.espresso:espresso-contrib:3.5.1 -
androidx.test.espresso:espresso-idling-resource:3.5.1 -
androidx.test.espresso:espresso-intents:3.5.1 -
androidx.test.espresso:espresso-remote:3.5.1 -
androidx.test.espresso:espresso-web:3.5.1 -
androidx.test.espresso.idling:idling-concurrent:3.5.1 -
androidx.test.espresso.idling:idling-net:3.5.1
رفع اشکالات
- پاکسازی سند مرجع: اصلاح نام پارامترها و حذف دستورات منسوخ شده «بتا» از IdlingThreadPoolExecutor و UriIdlingResource
تغییرات وابستگی
- بهروزرسانی به androidx.test:monitor:1.6.1 برای پشتیبانی از ذخیره تصاویر در صورت شکست تست اسپرسو بدون ذخیرهسازی تست
اسپرسو ۳.۵.۰
۸ نوامبر ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0 -
androidx.test.espresso:espresso-core:3.5.0 -
androidx.test.espresso:espresso-contrib:3.5.0 -
androidx.test.espresso:espresso-idling-resource:3.5.0 -
androidx.test.espresso:espresso-intents:3.5.0 -
androidx.test.espresso:espresso-remote:3.5.0 -
androidx.test.espresso:espresso-web:3.5.0 -
androidx.test.espresso.idling:idling-concurrent:3.5.0 -
androidx.test.espresso.idling:idling-net:3.5.0
ویژگیهای جدید
- ضبط دامنه ردیابی اندروید برای اقدامات اسپرسو
- DefaultFailureHandler در Espresso اکنون تصویری از شکستهای تست را در TestStorage ذخیره میکند.
- تابع افزونهی آزمایشی ViewInteraction.captureToBitmap را اضافه کنید
- ذخیره سلسله مراتب نما در یک فایل در صورت بروز خطا
تغییرات API
- ViewMatchers hasTextColor و hasBackground را به عنوان APIهای پایدار ارتقا دهید
- افزودن IntentsRule
- تطبیقدهندههای معکوس را برای IntentMatchers.hasExtraWithKey() و BundleMatchers.hasKey() اضافه کنید
- یک ViewAction اضافه کنید که به آخرین موقعیت در RecyclerView اسکرول کند.
- افزودن API مربوط به IntentMatcher.hasExtra
رفع اشکالات
- نوع ابزار را در رویداد بالا نگه دارید
- IdlingRegistry را از نظر thread-safe تر کنید.
- پشتیبانی از سایر نماها برای scrollTo()
- لاگهای هشدار وقفه غیرضروری
interruptEspressoTasksرا برای هر تعامل Espresso در Robolectric حذف کنید. - حذف timeout در CloseKeyboardAction هنگام اجرا تحت Robolectric
- از منبع InputDevice سازگار برای تزریق ژست ورودی استفاده کنید
- پشتیبانی از شبیهسازی ActivityNotFoundExceptions در Espresso Intents.
- سلسله مراتب نما را در پیامهای استثنا وقتی خیلی بزرگ میشوند، کوتاه کنید.
- تعداد و فهرست نماهای دارای تطابق مبهم را نمایش بده.
- اعتبارسنجی کنید که onView.check/perform() در نخ رابط کاربری فراخوانی شده باشد.
تغییرات وابستگی
- بهروزرسانی به
- کاتلین stdlib نسخه ۱.۷.۱۰
- jsr305:2.0.2
- برچسبها: ۱.۲.۱
- androidx.annotation:1.2.0
- مشارکت:
- بهروزرسانی به کشو ۱.۱.۱، نمای بازیافت ۱.۲.۱، مواد ۱.۴.۰
اسپرسو ۳.۵.۰-rc01
۲۶ اکتبر ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-rc01 -
androidx.test.espresso:espresso-core:3.5.0-rc01 -
androidx.test.espresso:espresso-contrib:3.5.0-rc01 -
androidx.test.espresso:espresso-idling-resource:3.5.0-rc01 -
androidx.test.espresso:espresso-intents:3.5.0-rc01 -
androidx.test.espresso:espresso-remote:3.5.0-rc01 -
androidx.test.espresso:espresso-web:3.5.0-rc01 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-rc01 -
androidx.test.espresso.idling:idling-net:3.5.0-rc01
اسپرسو ۳.۵.۰-بتا۰۲
۲۱ اکتبر ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-beta02 -
androidx.test.espresso:espresso-core:3.5.0-beta02 -
androidx.test.espresso:espresso-contrib:3.5.0-beta02 -
androidx.test.espresso:espresso-idling-resource:3.5.0-beta02 -
androidx.test.espresso:espresso-intents:3.5.0-beta02 -
androidx.test.espresso:espresso-remote:3.5.0-beta02 -
androidx.test.espresso:espresso-web:3.5.0-beta02 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-beta02 -
androidx.test.espresso.idling:idling-net:3.5.0-beta02
تغییرات API
- ViewMatchers hasTextColor و hasBackground را به عنوان APIهای پایدار ارتقا دهید
رفع اشکالات
- رفع خطای ClassNotFoundExceptions در recyclerview در scrollTo
تغییرات وابستگی
اسپرسو ۳.۵.۰-بتا۰۱
۶ اکتبر ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-beta01 -
androidx.test.espresso:espresso-core:3.5.0-beta01 -
androidx.test.espresso:espresso-contrib:3.5.0-beta01 -
androidx.test.espresso:espresso-idling-resource:3.5.0-beta01 -
androidx.test.espresso:espresso-intents:3.5.0-beta01 -
androidx.test.espresso:espresso-remote:3.5.0-beta01 -
androidx.test.espresso:espresso-web:3.5.0-beta01 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-beta01 -
androidx.test.espresso.idling:idling-net:3.5.0-beta01
تغییرات API
- حاشیهنویسی APIهای جدید معرفیشده از زمان ۳.۴.۰ با NonNull/Nullable
- افزودن API مربوط به IntentsRule
رفع اشکالات
- IdlingRegistry را از نظر thread-safe تر کنید.
- پشتیبانی از سایر نماها برای scrollTo()
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۱۰
- بهروزرسانی به jsr305:2.0.2
- بهروزرسانی به tagsup:1.2.1
اسپرسو ۳.۵.۰-alpha07
۱ ژوئن ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha07 -
androidx.test.espresso:espresso-core:3.5.0-alpha07 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha07 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha07 -
androidx.test.espresso:espresso-intents:3.5.0-alpha07 -
androidx.test.espresso:espresso-remote:3.5.0-alpha07 -
androidx.test.espresso:espresso-web:3.5.0-alpha07 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha07 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha07
رفع اشکالات
- برای جلوگیری از IncompatibleClassChangeErrors به javac 11 برگردید [#1351]
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۶.۲۱
اسپرسو ۳.۵.۰-alpha06
۲۸ آوریل ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha06 -
androidx.test.espresso:espresso-core:3.5.0-alpha06 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha06 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha06 -
androidx.test.espresso:espresso-intents:3.5.0-alpha06 -
androidx.test.espresso:espresso-remote:3.5.0-alpha06 -
androidx.test.espresso:espresso-web:3.5.0-alpha06 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha06 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha06
رفع اشکالات
- لاگهای هشدار
interruptEspressoTasksغیرضروری EspressoTasks را برای هر تعامل Espresso در Robolectric حذف کنید.
اسپرسو ۳.۵.۰-آلفا۰۵
۲۱ مارس ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha05 -
androidx.test.espresso:espresso-core:3.5.0-alpha05 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha05 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha05 -
androidx.test.espresso:espresso-intents:3.5.0-alpha05 -
androidx.test.espresso:espresso-remote:3.5.0-alpha05 -
androidx.test.espresso:espresso-web:3.5.0-alpha05 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha05 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha05
رفع اشکالات
- حذف timeout در CloseKeyboardAction هنگام اجرا تحت Robolectric
اسپرسو ۳.۵.۰-آلفا۰۴
۱۱ فوریه ۲۰۲۲
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha04 -
androidx.test.espresso:espresso-core:3.5.0-alpha04 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha04 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha04 -
androidx.test.espresso:espresso-intents:3.5.0-alpha04 -
androidx.test.espresso:espresso-remote:3.5.0-alpha04 -
androidx.test.espresso:espresso-web:3.5.0-alpha04 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha04 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha04
تغییرات API
- تطبیقدهندههای معکوس را برای IntentMatchers.hasExtraWithKey() و BundleMatchers.hasKey() اضافه کنید
- یک ViewAction اضافه کنید که به آخرین موقعیت در RecyclerView اسکرول کند.
ویژگیهای جدید
- ضبط دامنه ردیابی اندروید برای اقدامات اسپرسو
رفع اشکالات
- از منبع InputDevice سازگار برای تزریق ژست ورودی استفاده کنید
- پشتیبانی از شبیهسازی ActivityNotFoundExceptions در Espresso Intents.
- سلسله مراتب نما را در پیامهای استثنا وقتی خیلی بزرگ میشوند، کوتاه کنید.
- تعداد و فهرست نماهای دارای تطابق مبهم را نمایش بده.
تغییرات وابستگی
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۶.۱۰
اسپرسو ۳.۵.۰-آلفا۰۳
۴ اکتبر ۲۰۲۱
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha03 -
androidx.test.espresso:espresso-core:3.5.0-alpha03 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha03 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha03 -
androidx.test.espresso:espresso-intents:3.5.0-alpha03 -
androidx.test.espresso:espresso-remote:3.5.0-alpha03 -
androidx.test.espresso:espresso-web:3.5.0-alpha03 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha03 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha03
ویژگیهای جدید
- DefaultFailureHandler در Espresso اکنون تصویری از شکستهای تست را در TestStorage ذخیره میکند.
رفع اشکالات
- رفع مشکل نمایش و عملکرد ViewInteraction.captureToBitmap
- اعتبارسنجی کنید که onView.check/perform() در نخ رابط کاربری فراخوانی شده باشد.
اسپرسو ۳.۵.۰-آلفا۰۲
۲۸ سپتامبر ۲۰۲۱
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha02 -
androidx.test.espresso:espresso-core:3.5.0-alpha02 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha02 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha02 -
androidx.test.espresso:espresso-intents:3.5.0-alpha02 -
androidx.test.espresso:espresso-remote:3.5.0-alpha02 -
androidx.test.espresso:espresso-web:3.5.0-alpha02 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha02 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha02
ویژگیهای جدید
- تابع افزونهی آزمایشی ViewInteraction.captureToBitmap را اضافه کنید
تغییرات وابستگی
- همه:
- بهروزرسانی به androidx.annotation:1.2.0
- هسته:
- بهروزرسانی به کاتلین stdlib نسخه ۱.۵.۳۱
- مشارکت:
- بهروزرسانی به کشو ۱.۱.۱، نمای بازیافت ۱.۲.۱، مواد ۱.۴.۰
اسپرسو ۳.۵.۰-آلفا۰۱
۲۳ آگوست ۲۰۲۱
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-accessibility:3.5.0-alpha01 -
androidx.test.espresso:espresso-core:3.5.0-alpha01 -
androidx.test.espresso:espresso-contrib:3.5.0-alpha01 -
androidx.test.espresso:espresso-idling-resource:3.5.0-alpha01 -
androidx.test.espresso:espresso-intents:3.5.0-alpha01 -
androidx.test.espresso:espresso-remote:3.5.0-alpha01 -
androidx.test.espresso:espresso-web:3.5.0-alpha01 -
androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha01 -
androidx.test.espresso.idling:idling-net:3.5.0-alpha01
ویژگیهای جدید
- ذخیره سلسله مراتب نما در یک فایل در صورت بروز خطا
تغییرات API
- افزودن API مربوط به IntentMatcher.hasExtra
تغییرات وابستگی
- هسته: وابسته به kotlin stdlib 1.4.30
دستگاه اسپرسو ۱.۱.۰
دستگاه اسپرسو ۱.۱.۰
۳۰ ژوئیه ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0 منتشر شد.
تغییرات از آخرین نسخه پایدار ۱.۰.۱ شامل موارد زیر است:
رفع اشکالات
- رفع مشکل DisplaySizeRule که به دلیل تستهای ناموفق، به طور مداوم به حالت اولیه شبیهساز باز نمیگشت
- پشتیبانی از استفاده از DisplaySizeRule بدون فعالیتی در حالت از سر گرفته شده
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- جیآرپیسی ۱.۷۱.۰
- کاتلین ۱.۹.۰
- کوروتینهای کاتلین ۱.۱۰.۱
- اضافه شدن پشتیبانی برای تنظیم جهت صفحه نمایش با از سرگیری چندین فعالیت
- رفع مشکل اصلاح همزمان هنگام تنظیم جهت صفحه و حالتهای تا شدن
- راهنمای تنظیم اسناد مرجع برای حالت فعلی اکنون در https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api قرار دارد.
تغییرات API
- بهروزرسانی WidthSizeClass و HeightSizeClass برای استفاده از کلاسهای androidx.window size
- بهروزرسانی به minSdkVersion 21
دستگاه اسپرسو ۱.۱.۰-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0-rc01 منتشر شد.
دستگاه اسپرسو ۱.۱.۰-بتا۰۱
۳۰ ژوئن ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0-beta01 منتشر شد.
دستگاه اسپرسو ۱.۱.۰-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0-alpha03 منتشر شد.
رفع اشکالات
- به کاتلین ۱.۹ دانگرید کنید
دستگاه اسپرسو ۱.۱.۰-alpha02
۲۷ مارس ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0-alpha02 منتشر شد.
رفع اشکالات
- رفع مشکل DisplaySizeRule که به دلیل تستهای ناموفق، به طور مداوم به حالت اولیه شبیهساز باز نمیگشت
- پشتیبانی از استفاده از DisplaySizeRule بدون فعالیتی در حالت از سر گرفته شده
- بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- جیآرپیسی ۱.۷۱.۰
- کاتلین ۲.۱.۰
- کوروتینهای کاتلین ۱.۱۰.۱
دستگاه اسپرسو ۱.۱.۰-alpha01
۳ فوریه ۲۰۲۵
androidx.test.espresso:espresso-device:1.1.0-alpha01 منتشر شد.
رفع اشکالات
- اضافه شدن پشتیبانی برای تنظیم جهت صفحه نمایش با از سرگیری چندین فعالیت
- رفع مشکل اصلاح همزمان هنگام تنظیم جهت صفحه و حالتهای تا شدن
- راهنمای تنظیم اسناد مرجع برای حالت فعلی اکنون در https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api قرار دارد.
تغییرات API * بهروزرسانی WidthSizeClass و HeightSizeClass برای استفاده از کلاسهای androidx.window size * بهروزرسانی به minSdkVersion 21
دستگاه اسپرسو ۱.۰.۱
۲۶ ژوئن ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.1 منتشر شد.
دستگاه اسپرسو ۱.۰.۰
۲۴ ژوئن ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.0 منتشر شد.
انتشار اولیه!
ویژگیهای جدید
- APIها برای دستگاههای چرخان و تاشو
- APIهایی برای فیلتر کردن تستها بر اساس حالت دستگاه و نمایشگر
دستگاه اسپرسو ۱.۰.۰-rc01
۳۰ مه ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.0-rc01 منتشر شد.
رفع اشکالات
- اضافه شدن پشتیبانی برای تنظیم جهت صفحه نمایش با از سرگیری چندین فعالیت
- رفع مشکل اصلاح همزمان هنگام تنظیم جهت صفحه و حالتهای تا شدن
دستگاه اسپرسو ۱.۰.۰-بتا۰۱
۱۶ مه ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.0-beta01 منتشر شد.
رفع اشکالات
- وابستگی androidx.test.annotation استفاده نشده را حذف کنید
دستگاه اسپرسو ۱.۰.۰-alpha09
۲۶ آوریل ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.0-alpha09 منتشر شد.
رفع اشکال * شفافسازی پیامهای خطا برای تنظیم جهت صفحه نمایش بدون از سرگیری فعالیت * پشتیبانی از تنظیم جهت صفحه نمایش در دستگاههای فیزیکی نیمهتاشده API 34
تغییرات API
- پارامتر defaultOrientation از ScreenOrientationRule اختیاری شد
دستگاه اسپرسو ۱.۰.۰-alpha08
۲۶ ژانویه ۲۰۲۴
androidx.test.espresso:espresso-device:1.0.0-alpha08 منتشر شد.
رفع اشکالات
- اضافه شدن پیامهای خطای بهتر وقتی که فرآیند مجوز اینترنت ندارد
- ارجاعات کلاس استثنا را در مستندات دستگاه Espresso به لینکهای قابل کلیک تبدیل کنید
تغییرات API * حذف ExperimentalTestApi از androidx.test.filter.CustomFilter
دستگاه اسپرسو ۱.۰.۰-alpha07
۲۹ نوامبر ۲۰۲۳
androidx.test.espresso:espresso-device:1.0.0-alpha07 منتشر شد.
تغییرات API
- پشتیبانی از تنظیم حالتهای دستگاه در دستگاههای فیزیکی
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
دستگاه اسپرسو ۱.۰.۰-alpha06
۱۸ سپتامبر ۲۰۲۳
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-device:1.0.0-alpha06
تغییرات API * پشتیبانی از تنظیم جهت صفحه نمایش در دستگاههای فیزیکی که باز هستند * حذف رابط ActionContext
تغییرات وابستگی * minSdkVersion اکنون ۱۹ است
دستگاه اسپرسو ۱.۰.۰-alpha05
۴ مه ۲۰۲۳
آثار زیر منتشر شد:
-
androidx.test.espresso:espresso-device:1.0.0-alpha05
تغییرات API
- اضافه کردن APIهای آزمایشی برای شبیهسازهای چرخشی و تاشو
افزونههای JUnit نسخه ۱.۳.۰
ext.junit نسخه ۱.۳.۰
۳۰ ژوئیه ۲۰۲۵
androidx.test.ext:junit:1.3.0 و androidx.test.ext:junit-ktx:1.3.0 منتشر شدند.
تغییرات از آخرین نسخه پایدار ۱.۲.۱ شامل موارد زیر است:
رفع اشکالات
- پیوند به
androidx.test.rule.ActivityTestRuleمنسوخشده در توضیحات کلاس اصلاح شد. - بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- کاتلین ۱.۹.۰
تغییرات API
- بهروزرسانی به minSdkVersion 21
ext.junit 1.3.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test.ext:junit:1.3.0-rc01 و androidx.test.ext:junit-ktx:1.3.0-rc01 منتشر شدند.
ext.junit 1.3.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test.ext:junit:1.3.0-beta01 و androidx.test.ext:junit-ktx:1.3.0-beta01 منتشر شدند.
ext.junit 1.3.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test.ext:junit:1.3.0-alpha03 و androidx.test.ext:junit-ktx:1.3.0-alpha03 منتشر شدند.
رفع اشکالات
- به کاتلین ۱.۹ دانگرید کنید
ext.junit 1.3.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test.ext:junit:1.3.0-alpha02 و androidx.test.ext:junit-ktx:1.3.0-alpha02 منتشر شدند.
رفع اشکالات
- پیوند به
androidx.test.rule.ActivityTestRuleمنسوخشده در توضیحات کلاس اصلاح شد. - بهروزرسانی ابزار bazel:
- نسخهٔ ۷.۵.۰ بازل
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin نسخه ۲.۱.۳
- rules_android 0.6.3
- وابستگیها را به موارد زیر بهروزرسانی کنید:
- حاشیهنویسی اندروید ایکس ۱.۷.۰
- کاتلین ۲.۱.۰
ext.junit 1.3.0-alpha01
۳ فوریه ۲۰۲۵
androidx.test.ext:junit:1.3.0-alpha01 و androidx.test.ext:junit-ktx:1.3.0-alpha01 منتشر شدند.
تغییرات API
- بهروزرسانی به minSdkVersion 21
ext.junit نسخه ۱.۲.۱
۲۶ ژوئن ۲۰۲۴
androidx.test.ext:junit:1.2.1 و androidx.test.ext:junit-ktx:1.2.1 منتشر شدند.
ext.junit نسخه ۱.۲.۰
۲۴ ژوئن ۲۰۲۴
androidx.test.ext:junit:1.2.0 و androidx.test.ext:junit-ktx:1.2.0 منتشر شدند.
تغییرات از آخرین نسخه پایدار ۱.۱.۵ شامل موارد زیر است:
تغییرات API
- ایجاد DeleteFilesRule: یک API برای حذف فایلها بین اجرای موارد آزمایشی
- اضافه کردن AppComponentFactoryRule
- minSdkVersion اکنون ۱۹ و targetSdkVersion اکنون ۳۴ است.
رفع اشکالات
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
ویژگیهای جدید
- بهروزرسانی عمدهی زنجیرهی ابزار:
- کلاسها اکنون به بایتکد java8 کامپایل میشوند
- کامپایلر جاوا به OpenJDK 17 تغییر یافت.
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
ext.junit 1.2.0-rc01
۳۰ مه ۲۰۲۴
androidx.test.ext:junit:1.2.0-rc01 و androidx.test.ext:junit-ktx:1.2.0-rc01 منتشر شدند.
ext.junit 1.2.0-beta01
۱۶ مه ۲۰۲۴
androidx.test.ext:junit:1.2.0-beta01 و androidx.test.ext:junit-ktx:1.2.0-beta01 منتشر شدند.
ext.junit 1.2.0-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test.ext:junit:1.2.0-alpha04 و androidx.test.ext:junit-ktx:1.2.0-alpha04 منتشر شدند.
رفع اشکالات
- به جای TestStorage در DeleteFilesRule از PlatformTestStorage استفاده کنید
ext.junit 1.2.0-alpha03
۲۶ ژانویه ۲۰۲۴
androidx.test.ext:junit:1.2.0-alpha03 و androidx.test.ext:junit-ktx:1.2.0-alpha03 منتشر شدند.
رفع اشکالات
- پاکسازی سند مرجع - پارامترهای از دست رفته قبلی سند، اصلاح لینکها و غیره
ext.junit 1.2.0-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test.ext:junit:1.2.0-alpha02 و androidx.test.ext:junit-ktx:1.2.0-alpha02 منتشر شدند.
تغییرات API
- اضافه کردن AppComponentFactoryRule
- minSdkVersion اکنون ۱۹ و targetSdkVersion اکنون ۳۴ است.
ویژگیهای جدید
- مصنوعات اکنون امضا شدهاند. برای جزئیات بیشتر به تأیید وابستگیها مراجعه کنید.
ext.junit 1.2.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test.ext:junit:1.2.0-alpha01 و androidx.test.ext:junit-ktx:1.2.0-alpha01 منتشر شدند.
تغییرات API
- ایجاد DeleteFilesRule: یک API برای حذف فایلها بین اجرای موارد آزمایشی
تغییرات وابستگی
- بهروزرسانی به androidx.test:monitor:1.7.0-alpha01، androidx.test:core:1.6.0-alpha01، androidx.test.services:storage:1.5.0-alpha01
- بهروزرسانی به کتابخانه استاندارد کاتلین ۱.۷.۲۲
- بهروزرسانی عمدهی زنجیرهی ابزار:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 11.
JUnit Extensions 1.1.5
ext.junit 1.1.5
January 3, 2023
androidx.test.ext:junit:1.1.5 and androidx.test.ext:junit-ktx:1.1.5 are released.
رفع اشکالات
- Fix reference doc formatting for ActivityScenarioRule
JUnit Extensions 1.1.4
ext.junit 1.1.4
۸ نوامبر ۲۰۲۲
androidx.test.ext:junit:1.1.4 and androidx.test.ext:junit-ktx:1.1.4 are released.
Changes since 1.1.3 include:
Dependency changes
- Update to kotlin stdlib 1.7.10
- Update to org.junit:junit:4.13.2
ext.junit 1.1.4-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test.ext:junit:1.1.4-rc01 and androidx.test.ext:junit-ktx:1.1.4-rc01 are released.
ext.junit 1.1.4-beta01
۶ اکتبر ۲۰۲۲
androidx.test.ext:junit:1.1.4-beta01 and androidx.test.ext:junit-ktx:1.1.4-beta01 are released.
Dependency changes
- Update to kotlin stdlib 1.7.10
ext.junit 1.1.4-alpha07
۱ ژوئن ۲۰۲۲
androidx.test.ext:junit:1.1.4-alpha07 and androidx.test.ext:junit-ktx:1.1.4-alpha07 are released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
Dependency changes
- Update to kotlin stdlib 1.6.21
ext.junit 1.1.4-alpha06
۲۸ آوریل ۲۰۲۲
androidx.test.ext:junit:1.1.4-alpha06 and androidx.test.ext:junit-ktx:1.1.4-alpha06 are released.
رفع اشکالات
- Minor fix to the
AndroidJUnit4javadoc.
ext.junit 1.1.4-alpha05
Mar 21, 2022
androidx.test.ext:junit:1.1.4-alpha05 and androidx.test.ext:junit-ktx:1.1.4-alpha05 are released.
ext.junit 1.1.4-alpha04
Feb 11, 2022
androidx.test.ext:junit:1.1.4-alpha04 and androidx.test.ext:junit-ktx:1.1.4-alpha04 are released.
** Dependency Changes
- Update to kotlin stdlib 1.6.10
ext.junit 1.1.4-alpha03
Oct 4, 2021
androidx.test.ext:junit:1.1.4-alpha03 and androidx.test.ext:junit-ktx:1.1.4-alpha03 are released.
ext.junit 1.1.4-alpha02
Sept 28, 2021
androidx.test.ext:junit:1.1.4-alpha02 and androidx.test.ext:junit-ktx:1.1.4-alpha02 are released.
Dependency Changes
- Update to
- kotlin stdlib 1.5.31
- org.junit:junit:4.13.2
ext.junit 1.1.4-alpha01
Aug 23, 2021
androidx.test.ext:junit:1.1.4-alpha01 and androidx.test.ext:junit-ktx:1.1.4-alpha01 are released.
Dependency Changes
- -ktx: Explicitly depend on kotlin stdlib 1.4.30
Junit-Gtest 1.0
Junit-Gtest 1.0.0-alpha01
۲۳ مارس ۲۰۲۲
androidx.test.ext:junit-gtest:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
Features in first release
- JUnit Gtest is a new library which includes a JUnit runner for running Gtest suites on connected devices.
Truth Extensions 1.7.0
ext.truth 1.7.0
۳۰ ژوئیه ۲۰۲۵
androidx.test.ext:truth:1.7.0 is released.
Changes since last stable 1.6.0 release include:
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
تغییرات API
- Update to minSdkVersion 21
ext.truth 1.7.0
۳۰ ژوئیه ۲۰۲۵
androidx.test.ext:truth:1.7.0 is released.
ext.truth 1.7.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test.ext:truth:1.7.0-rc01 is released.
ext.truth 1.7.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test.ext:truth:1.7.0-beta01 is released.
ext.truth 1.7.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test.ext:truth:1.7.0-alpha03 is released.
ext.truth 1.7.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test.ext:truth:1.7.0-alpha02 is released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
ext.truth 1.7.0-alpha01
February 03, 2025
androidx.test.ext:truth:1.7.0-alpha01 is released.
تغییرات API
- Update to minSdkVersion 21
ext.truth 1.6.0
۲۴ ژوئن ۲۰۲۴
androidx.test.ext:truth:1.6.0 is released.
Changes since last stable release 1.5.0 include:
تغییرات API
- Remove unused androidx.test.annotation dependency
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- minSdkVersion is now 19, targetSdk is now 34
- Added
PersistableBundleSubject
رفع اشکالات
- Remove unused androidx.test.annotation dependency
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17.
ext.truth 1.6.0-rc01
۳۰ مه ۲۰۲۴
androidx.test.ext:truth:1.6.0-rc01 is released.
ext.truth 1.6.0-beta01
۱۶ مه ۲۰۲۴
androidx.test.ext:truth:1.6.0-beta01 is released.
رفع اشکالات
- Remove unused androidx.test.annotation dependency
ext.truth 1.6.0-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test.ext:truth:1.6.0-alpha04 is released.
ویژگیهای جدید
- Added
byteArray()method toBundleSubject.
ext.truth 1.6.0-alpha03
۲۶ ژانویه ۲۰۲۴
androidx.test.ext:truth:1.6.0-alpha03 is released.
رفع اشکالات
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
ویژگیهای جدید
- Added
PersistableBundleSubject
ext.truth 1.6.0-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test.ext:truth:1.6.0-alpha02 is released.
تغییرات API
- minSdkVersion is now 19, targetSdk is now 34
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
ext.truth 1.6.0-alpha01
March 21, 2022
androidx.test.ext:truth:1.6.0-alpha01 is released.
Dependency changes
- Update to androidx.test:core:1.6.0-alpha01
- Update to kotlin stdlib 1.7.22
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 11.
Truth Extensions 1.5.0
ext.truth 1.5.0
۸ نوامبر ۲۰۲۲
androidx.test.ext:truth:1.5.0 is released.
Changes since 1.4.0 include:
تغییرات API
- Add BundleSubject#stringArray
- Add ParcelableSubject.marshallsEquallyTo()
- Add BundleSubject#doubleFloat
رفع اشکالات
- Make Intent matchers fail explicitly for null intent
Dependency Changes
- Update to
- com.google.guava:guava:30.1.1-android
- com.google.truth:truth:1.1.3
ext.truth 1.5.0-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test.ext:truth:1.5.0-rc01 is released.
ext.truth 1.5.0-beta02
۲۱ اکتبر ۲۰۲۲
androidx.test.ext:truth:1.5.0-beta02 is released.
تغییرات API
- Promote IntentCorrespondences#all as stable API.
ext.truth 1.5.0-beta01
۶ اکتبر ۲۰۲۲
androidx.test.ext:truth:1.5.0-beta01 is released.
تغییرات API
- Annotate new APIs introduced since 1.4.0 with NonNull/Nullable
- Add BundleSubject#stringArray
ext.truth 1.5.0-alpha07
۱ ژوئن ۲۰۲۲
androidx.test.ext:truth:1.5.0-alpha07 is released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
ext.truth 1.5.0-alpha06
۲۸ آوریل ۲۰۲۲
androidx.test.ext:truth:1.5.0-alpha06 is released.
ext.truth 1.5.0-alpha05
Mar 21, 2022
androidx.test.ext:truth:1.5.0-alpha05 is released.
رفع اشکالات
- Make Intent matchers fail explicitly for null intent
ext.truth 1.5.0-alpha04
Feb 11, 2022
androidx.test.ext:truth:1.5.0-alpha04 is released.
ext.truth 1.5.0-alpha03
Oct 4, 2021
androidx.test.ext:truth:1.5.0-alpha03 is released.
ext.truth 1.5.0-alpha02
Sept 28, 2021
androidx.test.ext:truth:1.5.0-alpha02 is released.
تغییرات API
- Add ParcelableSubject.marshallsEquallyTo()
Dependency Changes
- Update to
- com.google.guava:guava:30.1.1-android
- com.google.truth:truth:1.1.3
ext.truth 1.5.0-alpha01
Aug 23, 2021
androidx.test.ext:truth:1.5.0-alpha01 is released.
تغییرات API
- Add BundleSubject#doubleFloat
Monitor 1.9.0
monitor 1.9.0-alpha01
January 14, 2026
androidx.test:monitor:1.9.0-alpha01 is released.
رفع اشکالات
Fixes missing IntentMonitor for startActivity with user overload. Now it's possible to intercept intents started with startActivityAsUser.
Adds missing override of an existing callActivityOnCreate method with PersistableBundle.
تغییرات API
- Update to minSdkVersion 23 and remove all related logic for SDKs < 23
monitor 1.8.0
۳۰ ژوئیه ۲۰۲۵
androidx.test:monitor:1.8.0 is released.
Changes since last stable 1.7.2 release include:
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0a
- kotlin 1.9.0
ویژگیهای جدید
- Adds @Supersedes to ServiceLoaderWrapper so it's possible to choose one implementation over another when multiple exist.
تغییرات API
- Update to minSdkVersion 21
- Make ReflectionException a RuntimeException
monitor 1.8.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test:monitor:1.8.0-rc01 is released.
monitor 1.8.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test:monitor:1.8.0-beta01 is released.
ویژگیهای جدید
- Adds @Supersedes to ServiceLoaderWrapper so it's possible to choose one implementation over another when multiple exist.
monitor 1.8.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test:monitor:1.8.0-alpha03 is released.
رفع اشکالات
- Downgrade to kotlin 1.9
monitor 1.8.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test:monitor:1.8.0-alpha02 is released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0a
- kotlin 2.1.0
monitor 1.8.0-alpha01
February 03, 2025
androidx.test:monitor:1.8.0-alpha01 is released.
تغییرات API
- Update to minSdkVersion 21
- Make ReflectionException a RuntimeException
monitor 1.7.2
۱۴ آگوست ۲۰۲۴
androidx.test:monitor:1.7.2 is released.
رفع اشکالات
- Fix ActivityInvoker$-CC ClassNotFoundErrors when used with older androidx.test:core
monitor 1.7.1
۲۶ ژوئن ۲۰۲۴
androidx.test:monitor:1.7.1 is released.
رفع اشکالات
- Catch and log NoSuchMethodError on forceEnableAppTracing calls
monitor 1.7.0
۲۴ ژوئن ۲۰۲۴
androidx.test:monitor:1.7.0 is released.
Changes since last stable release 1.6.1 include:
تغییرات API
- Make DeviceController a public API
- Move PlatformTestStorage to a public API
- Add internal ControlledLooper#isDrawCallbacksSupported.
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- minSdkVersion is now 19, targetSdkVersion is now 34
رفع اشکالات
- Remove unused androidx.test.annotation dependency
- Fix synchronization in IntentMonitorImpl callbacks
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update: now compiled to java8 bytecode
مشکلات شناخته شده
- monitor has a dependency on androidx.tracing:1.1.0. Depending on configuration, gradle may downgrade this to 1.0.0 at runtime causing 'No static method forceEnableAppTracing' errors. As a workaround, add an explicit 'implementation androidx.tracing:1.1.0' dependency. See https://github.com/android/android-test/issues/1755
monitor 1.7.0-rc01
۳۰ مه ۲۰۲۴
androidx.test:monitor:1.7.0-rc01 is released.
monitor 1.7.0-beta01
۱۶ مه ۲۰۲۴
androidx.test:monitor:1.7.0-beta01 is released.
رفع اشکالات
- Remove unused androidx.test.annotation dependency
monitor 1.7.0-alpha05
۲۶ آوریل ۲۰۲۴
androidx.test:monitor:1.7.0-alpha05 is released.
API Changes * Make DeviceController an public API from ExperimentalTestApi * Move PlatformTestStorage to a public API * Add internal ControlledLooper#isDrawCallbacksSupported.
monitor 1.7.0-alpha04
۲۶ ژانویه ۲۰۲۴
androidx.test:monitor:1.7.0-alpha04 is released.
رفع اشکالات
- Fix synchronization in IntentMonitorImpl callbacks
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
API Changes * Move androidx.test.platform.tracing back to an internal API
monitor 1.7.0-alpha03
۲۹ نوامبر ۲۰۲۳
androidx.test:monitor:1.7.0-alpha03 is released.
تغییرات API
- targetSdkVersion is now 34
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
monitor 1.7.0-alpha02
۱۸ سپتامبر ۲۰۲۳
androidx.test:monitor:1.7.0-alpha02 is released.
API change * Add AppComponentFactory Rule
Features * Dump thread states when idling resources time out
Bug fixes * Fix captureToBitmap for Views inside a Dialog on APIs >= 26.
Dependency changes * minSdkVersion is now 19
monitor 1.7.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:monitor:1.7.0-alpha01 is released.
Dependency changes
- Update to kotlin stdlib 1.7.22
- Major release toolchain update: now compiled to java8 bytecode
Monitor 1.6.0
monitor 1.6.1
January 3, 2023
androidx.test:monitor:1.6.1 is released.
رفع اشکالات
- Fix the default implementation of PlatformTestStorage. This will enable espresso to save screenshots on test failures when androidx.test.services is not configured
- Reference doc cleanup
monitor 1.6.0
۸ نوامبر ۲۰۲۲
androidx.test:monitor:1.6.0 is released.
Changes since 1.5.0 include:
تغییرات API
- Internal API changes to support ActivityScenario#launchActivityForResult
- Add internal API for supporting different tracing libraries.
رفع اشکالات
- Remove 'Activities that are still in CREATED to STOPPED' log spam
Dependency Changes
- Add dependency on androidx.tracing
monitor 1.6.0-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:monitor:1.6.0-rc01 is released.
monitor 1.6.0-beta01
۶ اکتبر ۲۰۲۲
androidx.test:monitor:1.6.0-beta01 is released.
monitor 1.6.0-alpha05
August 22, 2022
androidx.test:monitor:1.6.0-alpha05 is released.
تغییرات API
- Internal API changes to support ActivityScenario#launchActivityForResult
Monitor aka Platform 1.6.0
monitor 1.6.0-alpha04
۱ ژوئن ۲۰۲۲
androidx.test:monitor:1.6.0-alpha04 is released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
monitor 1.6.0-alpha03
۲۸ آوریل ۲۰۲۲
androidx.test:monitor:1.6.0-alpha03 is released.
رفع اشکالات
- Remove 'Activities that are still in CREATED to STOPPED' log spam
monitor 1.6.0-alpha02
Mar 21, 2022
androidx.test:monitor:1.6.0-alpha02 is released.
رفع اشکالات
- Make HardwareRendererCompat logging less severe.
- Ensure Trace.endSection is called before Instrumentation#finish.
monitor 1.6.0-alpha01
Feb 11, 2022
androidx.test:monitor:1.6.0-alpha01 is released.
تغییرات API
- Add internal plugin API for supporting different tracing libraries.
Dependency Changes
- Add dependency on androidx.tracing
Monitor aka Platform 1.5.0
monitor 1.5.0
Dec 13, 2021
androidx.test:monitor:1.5.0 is released.
Changes since last 1.4.0 stable release are:
تغییرات API
- Add HardwareRendererCompat
- Add PlatformTestStorage
- Deprecate androidx.test.annotation.Beta
monitor 1.5.0-rc01
Nov 18, 2021
androidx.test:monitor:1.5.0-rc01 is released.
monitor 1.5.0-beta01
Nov 8, 2021
androidx.test:monitor:1.5.0-beta01 is released.
monitor 1.5.0-alpha03
Oct 4, 2021
androidx.test:monitor:1.5.0-alpha03 is released.
monitor 1.5.0-alpha02
Sept 28, 2021
androidx.test:monitor:1.5.0-alpha02 is released.
تغییرات API
- Remove HardwareRendererCompat#enableDrawingIfNecessary
- Remove ExperimentalTestApi from HardwareRendererCompat
- Deprecate androidx.test.annotation.Beta
monitor 1.5.0-alpha01
Aug 23, 2021
androidx.test:monitor:1.5.0-alpha01 is released.
تغییرات API
- Add HardwareRendererCompat
- Add PlatformTestStorage
Orchestrator 1.6.1
orchestrator 1.6.1
۳۱ ژوئیه ۲۰۲۵
androidx.test:orchestrator:1.6.1 is released.
رفع اشکالات
- Remove use of guava. Fixes https://github.com/android/android-test/issues/2422
orchestrator 1.6.0
۳۰ ژوئیه ۲۰۲۵
androidx.test:orchestrator:1.6.0 is released.
Changes since last stable 1.5.1 release include:
رفع اشکالات
- Fix a bug where the instrumentation test application would not startup if the arguments passed to
ORCHESTRATOR_FORWARDED_INSTRUMENTATION_ARGScontains spaces. - Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
تغییرات API
- Update to minSdkVersion 21
orchestrator 1.6.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test:orchestrator:1.6.0-rc01 is released.
orchestrator 1.6.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test:orchestrator:1.6.0-beta01 is released.
رفع اشکالات
- Fix a bug where the instrumentation test application would not startup if the arguments passed to
ORCHESTRATOR_FORWARDED_INSTRUMENTATION_ARGScontains spaces.
orchestrator 1.6.0-alpha04
۲۳ آوریل ۲۰۲۵
androidx.test:orchestrator:1.6.0-alpha04 is released.
رفع اشکالات
- Downgrade to kotlin 1.9
orchestrator 1.6.0-alpha03
۲۷ مارس ۲۰۲۵
androidx.test:orchestrator:1.6.0-alpha03 is released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
orchestrator 1.6.0-alpha02
February 03, 2025
androidx.test:orchestrator:1.6.0-alpha02 is released.
orchestrator 1.6.0-alpha01
۲۰ نوامبر ۲۰۲۴
androidx.test:orchestrator:1.6.0-alpha01 is released.
تغییرات API
- Update to minSdkVersion 21
orchestrator 1.5.1
۱۵ اکتبر ۲۰۲۴
androidx.test:orchestrator:1.5.1 is released.
رفع اشکالات
- Fix execution of test names containing whitespace
orchestrator 1.5.0
۲۴ ژوئن ۲۰۲۴
androidx.test:orchestrator:1.5.0 is released.
Changes since last stable release 1.4.2 include:
ویژگیهای جدید
- Introduce Instrumentation Params Proxying which allows the user to proxy instrumentation arguments to the APK under test (eg: --no-hidden-api-checks).
- Major release toolchain update. APK is now signed with a different key and you will need to uninstal any previous orchestrator ('adb uninstall androidx.test.orchestrator')
تغییرات API
- minSdkVersion is now 19
رفع اشکالات
- Fix crash when test name is too long
orchestrator 1.5.0-rc01
۳۰ مه ۲۰۲۴
androidx.test:orchestrator:1.5.0-rc01 is released.
orchestrator 1.5.0-beta01
۱۶ مه ۲۰۲۴
androidx.test:orchestrator:1.5.0-beta01 is released.
orchestrator 1.5.0-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test:orchestrator:1.5.0-alpha04 is released.
orchestrator 1.5.0-alpha03
۲۹ فوریه ۲۰۲۴
androidx.test:orchestrator:1.5.0-alpha03 is released.
ویژگیهای جدید
- Introduce Instrumentation Params Proxying which allows the user to proxy instrumentation arguments to the APK under test (eg: --no-hidden-api-checks).
orchestrator 1.5.0-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test:orchestrator:1.5.0-alpha02 is released.
تغییرات API
- minSdkVersion is now 19
رفع اشکالات
- Fix crash when test name is too long
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
orchestrator 1.5.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:orchestrator:1.5.0-alpha01 is released.
Dependency changes
- Major release toolchain update. APK is now signed with a different key and you will need to uninstal any previous orchestrator ('adb uninstall androidx.test.orchestrator')
Orchestrator 1.4.2
orchestrator 1.4.2
۸ نوامبر ۲۰۲۲
androidx.test:orchestrator:1.4.2 is released.
orchestrator 1.4.2-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:orchestrator:1.4.2-rc01 is released.
orchestrator 1.4.2-beta01
۶ اکتبر ۲۰۲۲
androidx.test:orchestrator:1.4.2-beta01 is released.
orchestrator 1.4.2-alpha04
۱ ژوئن ۲۰۲۲
androidx.test:orchestrator:1.4.2-alpha04 is released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
orchestrator 1.4.2-alpha03
۲۸ آوریل ۲۰۲۲
androidx.test:orchestrator:1.4.2-alpha03 is released.
orchestrator 1.4.2-alpha02
Mar 21, 2022
androidx.test:orchestrator:1.4.2-alpha02 is released.
orchestrator 1.4.2-alpha01
Feb 11, 2022
androidx.test:orchestrator:1.4.2-alpha01 is released.
Orchestrator 1.4.1
orchestrator 1.4.1
Dec 13, 2021
androidx.test:orchestrator:1.4.1 is released.
The notable changes since previous 1.4.0 stable release are:
رفع اشکالات
- Delete obsolete OrchestrationXmlTestRunListener , in part to prevent error messages on Android 11+
- Support for android API 31
orchestrator 1.4.1-rc01
Nov 18, 2021
androidx.test:orchestrator:1.4.1-rc01 is released.
orchestrator 1.4.1-beta01
Nov 8, 2021
androidx.test:orchestrator:1.4.1-beta01 is released.
orchestrator 1.4.1-alpha03
Oct 4, 2021
androidx.test:orchestrator:1.4.1-alpha03 is released.
orchestrator 1.4.1-alpha02
Sept 28, 2021
androidx.test:orchestrator:1.4.1-alpha02 is released.
orchestrator 1.4.1-alpha01
Aug 23, 2021
androidx.test:orchestrator:1.4.1-alpha01 is released.
رفع اشکالات
- Delete obsolete OrchestrationXmlTestRunListener , in part to prevent error messages on Android 11+
Runner 1.7.0
runner 1.7.0
۳۰ ژوئیه ۲۰۲۵
androidx.test:runner:1.7.0 is released.
Changes since last stable 1.6.1 release include:
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
- Exceptions during
@AfterClasswere not being reported viaInstrumentationResultPrinter. - Exceptions arising in AndroidJUnitRunner.buildRequest are now handled.
- Assumption failures during a ClassRule or BeforeClass are now reported more consistently via
InstrumentationResultPrinter - Clarify SdkSuppress reference docs
تغییرات API
- Update to minSdkVersion 21
- Deprecate androidx.test.filters.Suppress in favor of org.junit.Ignore
runner 1.7.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test:runner:1.7.0-rc01 is released.
runner 1.7.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test:runner:1.7.0-beta01 is released.
runner 1.7.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test:runner:1.7.0-alpha03 is released.
رفع اشکالات
- Downgrade to kotlin 1.9
runner 1.7.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test:runner:1.7.0-alpha02 is released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
runner 1.7.0-alpha01
February 03, 2025
androidx.test:runner:1.7.0-alpha01 is released.
رفع اشکالات
- Exceptions during
@AfterClasswere not being reported viaInstrumentationResultPrinter. - Exceptions arising in AndroidJUnitRunner.buildRequest are now handled.
- Assumption failures during a ClassRule or BeforeClass are now reported more consistently via
InstrumentationResultPrinter - Clarify SdkSuppress reference docs
تغییرات API
- Update to minSdkVersion 21
- Deprecate androidx.test.filters.Suppress in favor of org.junit.Ignore
runner 1.6.2
۱۴ آگوست ۲۰۲۴
androidx.test:runner:1.6.2 is released.
runner 1.6.1
۲۶ ژوئن ۲۰۲۴
androidx.test:runner:1.6.1 is released.
runner 1.6.0
۲۴ ژوئن ۲۰۲۴
androidx.test:runner:1.6.0 is released.
Changes since last stable release 1.5.2 include:
تغییرات API
- Mark androidx.test.services.** as RestrictTo LIBRARY_GROUP
- Add CustomFilter API
- Add PackagePrefixClasspathSuite API
- Mark PermissionRequester as RestrictTo LIBRARY_GROUP instead of ExperimentalTestApi
- minSdkVersion is now 19
رفع اشکالات
- Remove unused androidx.test.annotation dependency
- When logging test exceptions, use Log's built-in support for throwables to avoid stack truncation
- Internal changes to support GrantPermissionRule using UiAutomation#grantRuntimePermissions
- Attempt to clarify limitations and deprecation reasons in RequiresDevice documentation
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- Fix that "-e class" and "-e notClass" on the same class/method should perform the same result (no tests run)
-
TestDiscoveryEventServiceConnection.send()will correctly fail the test instead of hanging if the instrumentation throws a RuntimeException. - Stop reparsing all args for every AndroidJUnit4 test class. This should address initialization errors like in #1948.
- Force initialization of instrumentationRunListener, to prevent NPEs when instrumenting system server process.
- Attempt to avoid outputting a test result summary which exceeds binder transaction limit.
- Wait up to 2 seconds for activity finisher to run, to prevent situations where it finishes activities mid-test
- Improve error reporting when there is a junit class mismatch due to a custom classloader
- Fix reporting in logOnly mode for @Ignore-d classes
- Move instantiation of InstrumentationResultPrinter to after multidex is loaded
- Register TestStorage before using it in RunnerArgs parsing
- Execute test classes in order provided to TestRequestBuilder.
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17.
runner 1.6.0-rc01
۳۰ مه ۲۰۲۴
androidx.test:runner:1.6.0-rc01 is released.
runner 1.6.0-beta01
۱۶ مه ۲۰۲۴
androidx.test:runner:1.6.0-beta01 is released.
رفع اشکالات
- Remove unused androidx.test.annotation dependency
runner 1.6.0-alpha07
۲۶ آوریل ۲۰۲۴
androidx.test:runner:1.6.0-alpha07 is released.
رفع اشکالات
- When logging test exceptions, use Log's built-in support for throwables to avoid stack truncation
- Internal changes to support GrantPermissionRule using UiAutomation#grantRuntimePermissions
runner 1.6.0-alpha06
۲۶ ژانویه ۲۰۲۴
androidx.test:runner:1.6.0-alpha06 is released.
رفع اشکالات
- Attempt to clarify limitations and deprecation reasons in RequiresDevice documentation
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- Fix that "-e class" and "-e notClass" on the same class/method should perform the same result (no tests run)
تغییرات API
- Mark androidx.test.services.** as RestrictTo LIBRARY_GROUP
- Remove ExperimentalTestApi from CustomFilter - making it public
- Remove ExperimentalTestApi from PackagePrefixClasspathSuite - make it public
- Mark PermissionRequester as RestrictTo LIBRARY_GROUP instead of ExperimentalTestApi
runner 1.6.0-alpha05
۲۹ نوامبر ۲۰۲۳
androidx.test:runner:1.6.0-alpha05 is released.
رفع اشکالات
-
TestDiscoveryEventServiceConnection.send()will correctly fail the test instead of hanging if the instrumentation throws a RuntimeException. - Stop reparsing all args for every AndroidJUnit4 test class. This should address initialization errors like in #1948.
تغییرات API
- minSdkVersion is now 19
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
runner 1.6.0-alpha04
۲۱ آگوست ۲۰۲۳
androidx.test:runner:1.6.0-alpha04 is released.
رفع اشکالات
- Force initialization of instrumentationRunListener, to prevent NPEs when instrumenting system server process.
Dependency changes
- Upgrade to androidx.annotation:1.7.0-beta01
runner 1.6.0-alpha03
June 30, 2023
androidx.test:runner:1.6.0-alpha03 is released.
رفع اشکالات
- Attempt to avoid outputting a test result summary which exceeds binder transaction limit.
runner 1.6.0-alpha02
۲۵ آوریل ۲۰۲۳
androidx.test:runner:1.6.0-alpha02 is released.
رفع اشکالات
- Wait up to 2 seconds for activity finisher to run, to prevent situations where it finishes activities mid-test
runner 1.6.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:runner:1.6.0-alpha01 is released.
رفع اشکالات
- Improve error reporting when there is a junit class mismatch due to a custom classloader
- Fix reporting in logOnly mode for @Ignore-d classes
- Move instantiation of InstrumentationResultPrinter to after multidex is loaded
- Register TestStorage before using it in RunnerArgs parsing
- Execute test classes in order provided to TestRequestBuilder.
Dependency changes
- Update to androidx.test:monitor:1.7.0-alpha01
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 11.
Runner 1.5.0
runner 1.5.2
January 3, 2023
androidx.test:runner:1.5.2 is released.
رفع اشکالات
- Reference doc cleanup
runner 1.5.1
۹ نوامبر ۲۰۲۲
androidx.test:runner:1.5.1 is released.
رفع اشکالات
- Truncate trace name in TraceRunListener to prevent crash on long test names
runner 1.5.0
۸ نوامبر ۲۰۲۲
androidx.test:runner:1.5.0 is released.
Changes since 1.4.0 include:
ویژگیهای جدید
- Record android Trace spans for test lifecycle events
تغییرات API
- Denote the long standing @Beta/@ExperimentalTestApi androidx.test.runner.screenshot as stable but deprecated (in favor of new androidx.test.core/espresso screenshot APIs)
- Deprecate the '-e timeout' runtime parameter in favor of JUnit's Timeout rule.
- Add an AbstractFilter class.
- Add AndroidClasspathSuite and experimental PackagePrefixClasspathSuite
- No-op and deprecate Google Analytics
رفع اشکالات
- Add support for reading from TestStorage in -e testFile
- Handle case where app crashes before instrumentationResultPrinter is set.
- Report the process crash immediately in the orchestrator instrumentation listener.
- Support parameterized test names with commas and hashes.
- Improve error handling during test discovery phase in orchestrator
- Enhance error handling in exception scenarios (app crashes, etc)
Dependency Changes
- Update to
- org.junit:junit:4.13.2
runner 1.5.0-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:runner:1.5.0-rc01 is released.
runner 1.5.0-beta02
۲۱ اکتبر ۲۰۲۲
androidx.test:runner:1.5.0-beta02 is released.
تغییرات API
- Denote the long standing @Beta/@ExperimentalTestApi androidx.test.runner.screenshot as stable but deprecated
رفع اشکالات
- Add support for reading from TestStorage in -e testFile
runner 1.5.0-beta01
۶ اکتبر ۲۰۲۲
androidx.test:runner:1.5.0-beta01 is released.
تغییرات API
- Deprecate the '-e timeout' runtime parameter in favor of JUnit's Timeout rule.
- Add an AbstractFilter class.
رفع اشکالات
- Fix trace errors for long test names
- Handle case where app crashes before instrumentationResultPrinter is set.
runner 1.5.0-alpha04
۱ ژوئن ۲۰۲۲
androidx.test:runner:1.5.0-alpha04 is released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
runner 1.5.0-alpha03
۲۸ آوریل ۲۰۲۲
androidx.test:runner:1.5.0-alpha03 is released.
رفع اشکالات
- Report the process crash immediately in the orchestrator instrumentation listener.
runner 1.5.0-alpha02
Mar 21, 2022
androidx.test:runner:1.5.0-alpha02 is released.
رفع اشکالات
- Ensure Trace.endSection is called before Instrumentation#finish.
runner 1.5.0-alpha01
Feb 11, 2022
androidx.test:runner:1.5.0-alpha01 is released.
تغییرات API
- Add AndroidClasspathSuite and PackagePrefixClasspathSuite
ویژگیهای جدید
- Record android Trace spans for test lifecycle events
رفع اشکالات
- Support parameterized test names with commas and hashes.
- Improve error handling during test discovery phase in orchestrator
Runner 1.4.1
runner 1.4.1-alpha03
Oct 4, 2021
androidx.test:runner:1.4.1-alpha03 is released.
رفع اشکالات
- Reports the exception when an error is thrown out of the test executor.
runner 1.4.1-alpha02
Sept 28, 2021
androidx.test:runner:1.4.1-alpha02 is released.
تغییرات API
- Replace androidx.test.annotaton.Beta references with ExperimentalTestApi
رفع اشکالات
- No-op and deprecate Google Analytics
Dependency Changes
- Update to
- org.junit:junit:4.13.2
runner 1.4.1-alpha01
Aug 23, 2021
androidx.test:runner:1.4.1-alpha01 is released.
رفع اشکالات
- Enhance error handling in exception scenarios (app crashes, etc)
Rules 1.7.0
rules 1.7.0
۳۰ ژوئیه ۲۰۲۵
androidx.test:rules:1.7.0 is released.
Changes since last stable 1.6.0 release include:
تغییرات API
-
ServiceTestRule.startServicewill now throw if the provided intent does not launch a service.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
تغییرات API
- Update to minSdkVersion 21
rules 1.7.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test:rules:1.7.0-rc01 is released.
rules 1.7.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test:rules:1.7.0-beta01 is released.
Breaking Changes
-
ServiceTestRule.startServicewill now throw if the provided intent does not launch a service.
rules 1.7.0-alpha03
۲۳ آوریل ۲۰۲۵
androidx.test:rules:1.7.0-alpha03 is released.
رفع اشکالات
- Downgrade to kotlin 1.9
rules 1.7.0-alpha02
۲۷ مارس ۲۰۲۵
androidx.test:rules:1.7.0-alpha02 is released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
rules 1.7.0-alpha01
February 03, 2025
androidx.test:rules:1.7.0-alpha01 is released.
تغییرات API
- Update to minSdkVersion 21
rules 1.6.1
۲۶ ژوئن ۲۰۲۴
androidx.test:rules:1.6.1 is released.
rules 1.6.0
۲۴ ژوئن ۲۰۲۴
androidx.test:rules:1.6.0 is released.
Changes since last stable release 1.5.0 include:
تغییرات API
- minSdkVersion is now 19, targetSdkVersion is now 34
- Recommend use of UiAutomation#grantRuntimePermissions instead of GrantPermissionRule
رفع اشکالات
- Replace broken links to junit.org javadoc with @link.
- Make GrantPermissionRule use UiAutomation to grant permissions on APIs > =28 to fix issues running on automotive.
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17.
rules 1.6.0-rc01
۳۰ مه ۲۰۲۴
androidx.test:rules:1.6.0-rc01 is released.
rules 1.6.0-beta01
۱۶ مه ۲۰۲۴
androidx.test:rules:1.6.0-beta01 is released.
رفع اشکالات
- Remove unused androidx.test.annotation dependency
rules 1.6.0-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test:rules:1.6.0-alpha04 is released.
رفع اشکالات
- Make GrantPermissionRule use UiAutomation to grant permissions on APIs > =28 to fix issues running on automotive.
rules 1.6.0-alpha03
۲۶ ژانویه ۲۰۲۴
androidx.test:rules:1.6.0-alpha03 is released.
رفع اشکالات
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
تغییرات API
- Recommend use of UiAutomation#grantRuntimePermissions instead of GrantPermissionRule
rules 1.6.0-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test:rules:1.6.0-alpha02 is released.
رفع اشکالات
- Replace broken links to junit.org javadoc with @link.
تغییرات API
- minSdkVersion is now 19, targetSdkVersion is now 34
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
rules 1.6.0-alpha01
۲۱ مارس ۲۰۲۳
androidx.test:rules:1.6.0-alpha01 is released.
Dependency changes
- Update toandroidx.test:runner:1.6.0-alpha01
- Update to kotlin stdlib 1.7.22
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 11.
Rules 1.5.0
rules 1.5.0
۸ نوامبر ۲۰۲۲
androidx.test:rules:1.5.0 is released.
Changes since 1.4.0 include:
تغییرات API
- Promote long standing @Beta/@ExperimentalTestApi GrantPermissionRule and ServiceTestRule as stable APIs
- Promote long standing @Beta/@ExperimentalTestApi AtraceLogger and ProviderTestRule as stable but deprecated APIs
Dependency Changes
- Update to
- org.junit:junit:4.13.2
Rules 1.5.0
rules 1.5.0-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test:rules:1.5.0-rc01 is released.
rules 1.5.0-beta01
۲۱ اکتبر ۲۰۲۲
androidx.test:rules:1.5.0-beta01 is released.
تغییرات API
- Promote long standing @Beta/@ExperimentalTestApi GrantPermissionRule and ServiceTestRule as stable APIs
- Promote long standing @Beta/@ExperimentalTestApi AtraceLogger and ProviderTestRule as stable but deprecated APIs
Rules 1.4.1
rules 1.4.1-beta01
۶ اکتبر ۲۰۲۲
androidx.test:rules:1.4.1-beta01 is released.
rules 1.4.1-alpha07
۱ ژوئن ۲۰۲۲
androidx.test:rules:1.4.1-alpha07 is released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
rules 1.4.1-alpha06
۲۸ آوریل ۲۰۲۲
androidx.test:rules:1.4.1-alpha06 is released.
rules 1.4.1-alpha05
Mar 21 2022
androidx.test:rules:1.4.1-alpha05 is released.
rules 1.4.1-alpha04
Feb 11 2022
androidx.test:rules:1.4.1-alpha04 is released.
rules 1.4.1-alpha03
Oct 4, 2021
androidx.test:rules:1.4.1-alpha03 is released.
rules 1.4.1-alpha02
Sept 28, 2021
androidx.test:rules:1.4.1-alpha02 is released.
تغییرات API
- Replace androidx.test.annotaton.Beta references with ExperimentalTestApi
Dependency Changes
- Update to
- org.junit:junit:4.13.2
rules 1.4.1-alpha01
Aug 23, 2021
androidx.test:rules:1.4.1-alpha01 is released.
No significant changes
Services 1.6.0
services 1.6.0
۳۰ ژوئیه ۲۰۲۵
androidx.test.services:test-services:1.6.0 androidx.test.services:storage:1.6.0 are released.
Changes since last stable 1.5.0 release include:
ویژگیهای جدید
- StackTrimmer now reports suppressed exceptions
- Adding a LocalSocket-based protocol for the ShellExecutor to talk to the ShellMain. This obsoletes SpeakEasy; if androidx.test.services is killed (eg by the low memory killer) between the start of the app_process that invokes LocalSocketShellMain and the start of the test, the test is still able to talk to LocalSocketShellMain.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
- The obsolete FileObserver protocol has been removed in favor of the LocalSocket-based protocol.
- TestStorage: Use input directory location for internal files
- StackTrimmer: harden against exceptions coming from Failure.getMessage().
تغییرات API
- Update to minSdkVersion 21
services 1.6.0-rc01
۱۴ ژوئیه ۲۰۲۵
androidx.test.services:test-services:1.6.0-rc01 androidx.test.services:storage:1.6.0-rc01 are released.
services 1.6.0-beta01
۳۰ ژوئن ۲۰۲۵
androidx.test.services:test-services:1.6.0-beta01 androidx.test.services:storage:1.6.0-beta01 are released.
services 1.6.0-alpha04
۲۳ آوریل ۲۰۲۵
androidx.test.services:test-services:1.6.0-alpha04 androidx.test.services:storage:1.6.0-alpha04 are released.
رفع اشکالات
- Downgrade to kotlin 1.9
ویژگیهای جدید
- StackTrimmer now reports suppressed exceptions
services 1.6.0-alpha03
۲۷ مارس ۲۰۲۵
androidx.test.services:test-services:1.6.0-alpha03 androidx.test.services:storage:1.6.0-alpha03 are released.
رفع اشکالات
- Update bazel toolchain:
- bazel version 7.5.0
- rules_jvm_external 6.7
- rules_java 8.6.3
- rules_kotlin 2.1.3
- rules_android 0.6.3
- Update dependencies to:
- androidx.annotation 1.7.0
services 1.6.0-alpha02
February 03, 2025
androidx.test.services:test-services:1.6.0-alpha02 androidx.test.services:storage:1.6.0-alpha02 are released.
رفع اشکالات
- The obsolete FileObserver protocol has been removed in favor of the LocalSocket-based protocol.
services 1.6.0-alpha01
۲۰ نوامبر ۲۰۲۴
androidx.test.services:test-services:1.6.0-alpha01 androidx.test.services:storage:1.6.0-alpha01 are released.
رفع اشکالات
- TestStorage: Use input directory location for internal files
- StackTrimmer: harden against exceptions coming from Failure.getMessage().
ویژگیهای جدید
- Adding a LocalSocket-based protocol for the ShellExecutor to talk to the ShellMain. This obsoletes SpeakEasy; if androidx.test.services is killed (eg by the low memory killer) between the start of the app_process that invokes LocalSocketShellMain and the start of the test, the test is still able to talk to LocalSocketShellMain.
تغییرات API
- Update to minSdkVersion 21
services 1.5.0
۲۴ ژوئن ۲۰۲۴
androidx.test.services:test-services:1.5.0 androidx.test.services:storage:1.5.0 are released.
Changes since last stable 1.4.2 release include:
تغییرات API
- Make TestStorage an internal API from experimental
- minSdkVersion is now 19, targetSdkVersion is now 34
رفع اشکالات
- Reduce HostedFile log spam
- Remove unused androidx.test.annotation dependency
- TestStorage: use local cache dir to store output files when running as non system user
- When files are opened for writing, TestStorage now truncates the file unless it is explicitly opened for appending. This prevents bytes from a prior write to the file from remaining at the end of the file.
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
ویژگیهای جدید
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17.
- APK is now signed with a different key and you will need to uninstall any previous APK ('adb uninstall androidx.test.services')
services 1.5.0-rc01
۳۰ مه ۲۰۲۴
androidx.test.services:test-services:1.5.0-rc01 androidx.test.services:storage:1.5.0-rc01 are released.
services 1.5.0-beta01
۱۶ مه ۲۰۲۴
androidx.test.services:test-services:1.5.0-beta01 androidx.test.services:storage:1.5.0-beta01 are released.
رفع اشکالات
- Reduce HostedFile log spam
- Remove unused androidx.test.annotation dependency
services 1.5.0-alpha04
۲۶ آوریل ۲۰۲۴
androidx.test.services:test-services:1.5.0-alpha04 androidx.test.services:storage:1.5.0-alpha04 are released.
رفع اشکالات
- TestStorage: use local cache dir to store output files when running as non system user
تغییرات API
- Make TestStorage an internal API from experimental
services 1.5.0-alpha03
۲۶ ژانویه ۲۰۲۴
androidx.test.services:test-services:1.5.0-alpha03 androidx.test.services:storage:1.5.0-alpha03 are released.
رفع اشکالات
- When files are opened for writing, TestStorage now truncates the file unless it is explicitly opened for appending. This prevents bytes from a prior write to the file from remaining at the end of the file.
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
services 1.5.0-alpha02
۲۹ نوامبر ۲۰۲۳
androidx.test.services:test-services:1.5.0-alpha02 androidx.test.services:storage:1.5.0-alpha02 are released.
رفع اشکالات
- Attempt to avoid outputting a test result summary which exceeds binder transaction limit
تغییرات API
- minSdkVersion is now 19, targetSdkVersion is now 34
ویژگیهای جدید
- Artifacts are now signed. See verify dependencies for more details.
services 1.5.0-alpha01
March 21, 2022
androidx.test.services:test-services:1.5.0-alpha01 androidx.test.services:storage:1.5.0-alpha01 are released.
Dependency changes
- Update to androidx.test:monitor:1.7.0-alpha01
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 11.
- APK is now signed with a different key and you will need to uninstal any previous orchestrator ('adb uninstall androidx.test.services')
Services 1.4.2
services 1.4.2
۸ نوامبر ۲۰۲۲
androidx.test.services:test-services:1.4.2 androidx.test.services:storage:1.4.2 are released.
services 1.4.2-rc01
۲۶ اکتبر ۲۰۲۲
androidx.test.services:test-services:1.4.2-rc01 androidx.test.services:storage:1.4.2-rc01 are released.
services 1.4.2-beta01
۶ اکتبر ۲۰۲۲
androidx.test.services:test-services:1.4.2-beta01 androidx.test.services:storage:1.4.2-beta01 are released.
services 1.4.2-alpha04
۱ ژوئن ۲۰۲۲
androidx.test.services:test-services:1.4.2-alpha04 androidx.test.services:storage:1.4.2-alpha04 are released.
رفع اشکالات
- Revert to javac 11 to prevent IncompatibleClassChangeErrors [#1351]
services 1.4.2-alpha03
۲۸ آوریل ۲۰۲۲
androidx.test.services:test-services:1.4.2-alpha03 androidx.test.services:storage:1.4.2-alpha03 are released.
services 1.4.2-alpha02
Mar 21, 2022
androidx.test.services:test-services:1.4.2-alpha02 androidx.test.services:storage:1.4.2-alpha02 are released.
services 1.4.2-alpha01
Feb 11, 2022
androidx.test.services:test-services:1.4.2-alpha01 androidx.test.services:storage:1.4.2-alpha01 are released.
Services 1.4.1
services 1.4.1
Dec 13, 2021
androidx.test.services:test-services:1.4.1 androidx.test.services:storage:1.4.1 are released.
The notable changes since previous 1.4.0 stable release are:
** Bug Fixes**
- Fix execution on Android API 31 by using real uid for ToolConnection [#1042]
services 1.4.1-rc01
Nov 18, 2021
androidx.test.services:test-services:1.4.1-rc01 androidx.test.services:storage:1.4.1-rc01 are released.
services 1.4.1-beta01
Nov 8, 2021
androidx.test.services:test-services:1.4.1-beta01 androidx.test.services:storage:1.4.1-beta01 are released.
services 1.4.1-alpha03
Oct 4, 2021
androidx.test.services:test-services:1.4.1-alpha03 androidx.test.services:storage:1.4.1-alpha03 are released.
services 1.4.1-alpha02
Sept 28, 2021
androidx.test.services:test-services:1.4.1-alpha02 androidx.test.services:storage:1.4.1-alpha02 are released.
services 1.4.1-alpha01
Aug 23, 2021
androidx.test.services:test-services:1.4.1-alpha01 androidx.test.services:storage:1.4.1-alpha01 are released.
** Bug Fixes**
- Fix execution on Android S Beta4 by using real uid for ToolConnection [#1042]
Version 1.4.0
Version 1.4.0
۳۰ ژوئن ۲۰۲۱
This is the stable release of AndroidX Test 1.4.0 + Espresso 3.4.0. It contains updates to the following libraries:
- Core 1.4.0
- Espresso 3.4.0
- Intents 3.4.0
- JUnit 1.1.3
- Monitor 1.4.0
- Orchestrator 1.4.0
- Runner 1.4.0
- Rules 1.4.0
- Truth 1.4.0
- Test Services 1.4.0
There are no changes since 1.4.0-rc01. Here is a summary of the changes since the 1.3.0 release:
ویژگیهای جدید
- Add Espresso ViewMatcher APIs for negative conditions
- Allow unregistering Loopers from Espresso IdlingRegistry
- Support specifying junit RunListeners via java.util.ServiceLoader
- Introduce Espresso BoundedDiagnosingMatcher base class API that offers better error messaging, and apply it to various Espresso matchers
- Support using UIThreadTest at the class level
- Several utility methods added to ext.truth's LocationSubject
- Add
SparseBooleanArraySubjectTruthSubjectfor making assertions aboutSparseBooleanArray
رفع اشکالات
- Improve handling for large stack traces on test failures [#729, #269]
- Remove test runner framework related stack frames
- Truncate stack traces to a max limit of 64KB, to avoid binder limit transaction errors
- Add support for classpath scanning test discovery for multidex instrumentation apks on android APIs < 21.
- Espresso: Improve error messaging when no activity is present
- Improve Instrumentation#runOnMainSync exception error handling
- Improve documentation for -e timeout_msec and AndroidJUnit4.
- Send ActivityOptions to BootstrapActivity [#685]
- Improve ViewMatchers#assertThat error messaging by enabling it to use Matcher.describeMismatch
- Fix the missing desugar ThrowableExtension errors when using espresso remote [issuetracker.google.com/170228109]
- Fix espresso web on < Android API 19 by including the androidx.test.espresso.web.bridge classes
- Unregister ActivityResultWaiter in InstrumentationActivityInvoker if it wasn't already unregistered
- Runner: Reduce TestEventClient 'not primary instr' log message to a warning, as its an expected condition in multi process tests
- Espresso: Update HasSiblingMatcher to only check siblings (not self)
- Fix artifact name for espresso.idling.resource [#809]
- Expose setMasterPolicyTimeoutWhenDebuggerAttached functionality [#814]
- Remove overly verbose ActivityLifecycleMonitorImpl callback logging.
Dependency Changes
- Update espresso.accessibility and espresso.contrib to depend on the androidx-compatible com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:3.1. This release will thus require java8 source/target compatiblity. [#492]
مشکلات شناخته شده
- Using orchestrator on APIS 30+ requires Studio/AGP 4.2+
Version 1.4.0-rc01
۲۱ ژوئن ۲۰۲۱
This is a release candidate of AndroidX Test 1.4.0/Espresso 3.4.0. APIs are stable. It contains updates to the following libraries:
- Core 1.4.0-rc01
- Espresso 3.4.0-rc01
- Intents 3.4.0-rc01
- JUnit 1.1.3-rc01
- Monitor 1.4.0-rc01
- Orchestrator 1.4.0-rc01
- Runner 1.4.0-rc01
- Rules 1.4.0-rc01
- Truth 1.4.0-rc01
- Test Services 1.4.0-rc01
This release candidate is equivalent to the 1.4.0-beta02/3.4.0-beta02 release, aside from the version number.
Version 1.4.0-beta02
۷ ژوئن ۲۰۲۱
This is a beta release of AndroidX Test 1.4.0. APIs are not expected to change. It contains updates to the following libraries:
- Core 1.4.0-beta02
- Espresso 3.4.0-beta02
- Intents 3.4.0-beta02
- JUnit 1.1.3-beta02
- Monitor 1.4.0-beta02
- Orchestrator 1.4.0-beta02
- Runner 1.4.0-beta02
- Rules 1.4.0-beta02
- Truth 1.4.0-beta02
- Test Services 1.4.0-beta02
Here is a summary of the changes since the 1.4.0-beta01 release:
رفع اشکالات
- Switch back to classic desugaring to address backwards compatiblity and core-library desugaring issues with beta-1 [Fixes #968 ]
Version 1.4.0-beta01
۱۷ مه ۲۰۲۱
This is the beta release of AndroidX Test 1.4.0. APIs are not expected to change. It contains updates to the following libraries:
- Core 1.4.0-beta01
- Espresso 3.4.0-beta01
- Intents 3.4.0-beta01
- JUnit 1.1.3-beta01
- Monitor 1.4.0-beta01
- Orchestrator 1.4.0-beta01
- Runner 1.4.0-beta01
- Rules 1.4.0-beta01
- Truth 1.4.0-beta01
- Test Services 1.4.0-beta01
Here is a summary of the changes since the 1.4.0-alpha06 release:
New API cleanup
- Remove InstrumentationProvider
- Undeprecate BoundedMatcher
- Restore CursorMatcher to inherit from BoundedMatcher
Version 1.4.0-alpha06
۲۹ آوریل ۲۰۲۱
This is the alpha release of AndroidX Test 1.4.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.4.0-alpha06
- Espresso 3.4.0-alpha06
- Intents 3.4.0-alpha06
- JUnit 1.1.3-alpha06
- Monitor 1.4.0-alpha06
- Orchestrator 1.4.0-alpha06
- Runner 1.4.0-alpha06
- Rules 1.4.0-alpha06
- Truth 1.4.0-alpha06
- Test Services 1.4.0-alpha06
Here is a summary of the changes since the 1.4.0-alpha05 release:
رفع اشکالات
- Support compiling against SDKS < 29 by removing forceQueryable from manifest [#917]
Version 1.4.0-alpha05
۱۵ مارس ۲۰۲۱
This is the alpha release of AndroidX Test 1.4.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.4.0-alpha05
- Espresso 3.4.0-alpha05
- Intents 3.4.0-alpha05
- JUnit 1.1.3-alpha05
- Monitor 1.4.0-alpha05
- Orchestrator 1.4.0-alpha05
- Runner 1.4.0-alpha05
- Rules 1.4.0-alpha05
- Truth 1.4.0-alpha05
- Test Services 1.4.0-alpha05
Here is a summary of the changes since the 1.4.0-alpha04 release:
تغییرات API
- [Truth] Add
SparseBooleanArraySubjectTruthSubjectfor making assertions aboutSparseBooleanArray.
رفع اشکالات
- Add QUERY_ALL_PACKAGES permission to the Android Test Orchestrator and Android Test Services APK to work properly on Android API R+.
- Add support for classpath scanning test discovery for multidex instrumentation apks on android APIs < 21.
Version 1.4.0-alpha04
۸ فوریه ۲۰۲۱
This is the alpha release of AndroidX Test 1.4.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.4.0-alpha04
- Espresso 3.4.0-alpha04
- Intents 3.4.0-alpha04
- JUnit 1.1.3-alpha04
- Monitor 1.4.0-alpha04
- Orchestrator 1.4.0-alpha04
- Runner 1.4.0-alpha04
- Rules 1.4.0-alpha04
- Truth 1.4.0-alpha04
- Test Services 1.4.0-alpha04
Here is a summary of the changes since the 1.3.1-alpha03 release:
ویژگیهای جدید
- [Espresso] Improve error messaging for various Espresso assertions
- [Truth] Several utility methods added to LocationSubject
تغییرات API
- Added
InstrumentationRegistry.registerInstrumentationProvider
رفع اشکالات
- Remove overly verbose ActivityLifecycleMonitorImpl callback logging.
Dependency Changes
Version 1.3.1
Version 1.3.1-alpha03
۱۱ ژانویه ۲۰۲۱
This is the alpha release of AndroidX Test 1.3.1. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.1-alpha03
- Espresso 3.4.0-alpha03
- Intents 3.4.0-alpha03
- JUnit 1.1.3-alpha03
- Monitor 1.3.1-alpha03
- Orchestrator 1.3.1-alpha03
- Runner 1.3.1-alpha03
- Rules 1.3.1-alpha03
- Truth 1.3.1-alpha03
- Test Services 1.3.1-alpha03
Here is a summary of the changes since the 1.3.1-alpha02 release:
ویژگیهای جدید
- Support using UIThreadTest at the class level
رفع اشکالات
- Unregister ActivityResultWaiter in InstrumentationActivityInvoker if it wasn't already unregistered
- Runner: Reduce TestEventClient 'not primary instr' log message to a warning, as its an expected condition in multi process tests
- Espresso: Update HasSiblingMatcher to only check siblings (not self).
- Fix artifact name for espresso.idling.resource [#809]
- Expose setMasterPolicyTimeoutWhenDebuggerAttached functionality [#814]
Dependency Changes
- Update espresso.accessibility and espresso.contrib to depend on the androidx-compatible com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:3.1. This release will thus require java8 source/target compatiblity. [#492]
Version 1.3.1-alpha02
۲۰ اکتبر ۲۰۲۰
This is the alpha release of AndroidX Test 1.3.1. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.1-alpha02
- Espresso 3.4.0-alpha02
- Intents 3.4.0-alpha02
- JUnit 1.1.3-alpha02
- Monitor 1.3.1-alpha02
- Orchestrator 1.3.1-alpha02
- Runner 1.3.1-alpha02
- Rules 1.3.1-alpha02
- Truth 1.3.1-alpha02
- Test Services 1.3.1-alpha02
Here is a summary of the changes since the 1.3.1-alpha01 release:
ویژگیهای جدید
- Early look at new Espresso BoundedDiagnosingMatcher base class API that offers better error messaging.
رفع اشکالات
- Fix orchestrator clearPackageData on API 30 [#743]
Version 1.3.1-alpha01
۱۵ اکتبر ۲۰۲۰
This is the alpha release of AndroidX Test 1.3.1. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.1-alpha01
- Espresso 3.4.0-alpha01
- Intents 3.4.0-alpha01
- JUnit 1.1.3-alpha01
- Monitor 1.3.1-alpha01
- Orchestrator 1.3.1-alpha01
- Runner 1.3.1-alpha01
- Rules 1.3.1-alpha01
- Truth 1.3.1-alpha01
- Test Services 1.3.1-alpha01
Here is a summary of the changes since the 1.3.0 release:
ویژگیهای جدید
- Add Espresso ViewMatcher APIs for negative conditions
- Allow unregistering Loopers from Espresso IdlingRegistry
- Support specifying junit RunListeners via java.util.ServiceLoader
رفع اشکالات
- Improve handling for large stack traces on test failures [#729, #269]
- Remove test runner framework related stack frames
- Truncate stack traces to a max limit of 64KB, to avoid binder limit transaction errors
- Espresso: Improve error messaging when no activity is present
- Improve Instrumentation#runOnMainSync exception error handling
- Add package visibility entries for Orchestrator and Services to fix Orchestator when using targetSdk 30 [#743]
- Improve documentation for -e timeout_msec and AndroidJUnit4.
- Send ActivityOptions to BootstrapActivity [#685]
- Improve ViewMatchers#assertThat error messaging by enabling it to use Matcher.describeMismatch
- Fix the missing desugar ThrowableExtension errors when using espresso remote [issuetracker.google.com/170228109]
- Fix espresso web on < Android API 19 by including the androidx.test.espresso.web.bridge classes
نسخه ۱.۳.۰
نسخه ۱.۳.۰
۲۵ آگوست ۲۰۲۰
This is the stable release of AndroidX Test 1.3.0. It contains updates to the following libraries:
- Core 1.3.0
- Espresso 3.3.0
- Intents 3.3.0
- JUnit 1.1.2
- Monitor 1.3.0
- Orchestrator 1.3.0
- Runner 1.3.0
- Rules 1.3.0
- Truth 1.3.0
- Test Services 1.3.0
There are no changes since 1.3.0-rc03. Here is a summary of the changes since the 1.2.0 release:
ویژگیهای جدید
- Support filtering by prerelease SDKs via SdkSuppress#codeName
- Add truth extensions for Location
- Add truth assertions for Bundle string and parceable arrays.
- Support ActivityOptions in ActivityScenario
- Make activity lifecycle transition timeout configurable
- Handle Activities launched via implicit intents. (Fixes #496)
- Add a BundleMatchers.isEmpty() and isEmptyOrNull() methods
- Allow Intents.release without Intents.init
- Add ViewMatchers.isFocused()
تغییرات API
- ActivityTestRule is deprecated in favor of ActivityScenario/ActivityScenarioRule
- Allow subclasses of ServiceTestRule to customize timeout
رفع اشکالات
- Fix filtering parameterized methods
- This also fixes running parameterized tests with Orchestrator [#215, https://issuetracker.google.com/119838413]
- Fix 'runtime permission dialog appears' when running on API 29
- Skip starting and finish animations for the empty activity used in ActivityScenario. (Fixes #411)
- Handle Activities launched via implicit intents. (Fixes #496)
- Make kotlin package names unique, fixing log spam when building with AGP 4.1 [#680]
- Only delegate to RobolectricTestRunner in AndroidJUnit4 runner if its on the classpath
- Espresso contrib: Replace usages of RecyclerView.findViewHolderForPosition method with its replacement
- Fix NoSuchMethodError when testing with AccessibilityChecks enabled (#376)
- Fix the error message when Espresso is busy due to processing messages rather than idling resources
- ViewMatchers.isDisplayingAtLeast() works for views with negative scale.
- Enhance error messaging for WithIdMatcher
- Remove spurious wait in waitForAtLeastOneActivityToBeResumed.
- Set correct meta state for ACTION_UP
- Fix missing missing androidx_test_espresso_contrib_drawer_layout_tag field [#671]
- Improve class path scanning error handling in AndroidJUnitRunner: Ignore all no class found and linkage errors (Fixes #439)
- Initialize InstrumentationRegistry before creating RunListeners from RunnerArgs
Dependency Changes
- Truth: Update to com.google.truth:truth:1.0 and com.google.guava:guava:27.0.1-android
Version 1.3.0-rc03
۵ آگوست ۲۰۲۰
This is the third release candidate of AndroidX Test 1.3.0. It contains updates to the following libraries:
- Core 1.3.0-rc03
- Espresso 3.3.0-rc03
- Remove some not-yet-ready-for-release APIs that were mistakenly included in previous rc+beta builds
- Intents 3.3.0-rc03
- Remove some not-yet-ready-for-release APIs that were mistakenly included in previous rc+beta builds
- JUnit 1.1.2-rc03
- Monitor 1.3.0-rc03
- Orchestrator 1.3.0-rc03
- Runner 1.3.0-rc03
- Rules 1.3.0-rc03
- Truth 1.3.0-rc03
- Test Services 1.3.0-rc03
Version 1.3.0-rc02
۲۸ ژوئیه ۲۰۲۰
This is the second release candidate of AndroidX Test 1.3.0. It contains updates to the following libraries:
- Core 1.3.0-rc02
- Make kotlin package names unique, fixing log spam when building with AGP 4.1 [#680]
- Espresso 3.3.0-rc02
- Fix missing missing androidx_test_espresso_contrib_drawer_layout_tag field [#671]
- Intents 3.3.0-rc02
- JUnit 1.1.2-rc02
- Monitor 1.3.0-rc02
- Orchestrator 1.3.0-rc02
- Runner 1.3.0-rc02
- Rules 1.3.0-rc02
- Add conversion tips for ActivityTestRule->ActivityScenario
- Truth 1.3.0-rc02
- Test Services 1.3.0-rc02
نسخه ۱.۳.۰-rc01
۲۸ مه ۲۰۲۰
This is a release candidate of AndroidX Test 1.3.0. It contains updates to the following libraries:
- Core 1.3.0-rc01
- Espresso 3.3.0-rc01
- Make package names unique, fixing log spam when building with AGP 4.1 [#573]
- Intents 3.3.0-rc01
- JUnit 1.1.2-rc01
- Monitor 1.3.0-rc01
- Make package names unique, fixing log spam when building with AGP 4.1 [#573]
- Orchestrator 1.3.0-rc01
- Runner 1.3.0-beta01
- Make package names unique, fixing log spam when building with AGP 4.1 [#573]
- Rules 1.3.0-rc01
- Make package names unique, fixing log spam when building with AGP 4.1 [#573]
- Truth 1.3.0-rc01
- Test Services 1.3.0-rc01
Version 1.3.0-beta02
۲۰ مه ۲۰۲۰
This is a beta release of AndroidX Test 1.3.0. New APIs are unlikely to change. It contains updates to the following libraries:
- Core 1.3.0-beta02
- Espresso 3.3.0-beta02
- Intents 3.3.0-beta02
- JUnit 1.1.2-beta02
- Monitor 1.3.0-beta02
- Orchestrator 1.3.0-beta02
- Runner 1.3.0-beta01
- Fix running parameterized tests with Orchestrator [#215, https://issuetracker.google.com/119838413]
- Rules 1.3.0-beta02
- Truth 1.3.0-beta02
- Test Services 1.3.0-beta02
- Fix 'runtime permission dialog appears' when running on API 29
نسخه ۱.۳.۰-بتا۰۱
April 20, 2020
This is a beta release of AndroidX Test 1.3.0. New APIs are unlikely to change. It contains updates to the following libraries:
- Core 1.3.0-beta01
- Espresso 3.3.0-beta01
- Add ViewMatchers.isFocused()
- Enhance error messaging for WithIdMatcher
- Intents 3.3.0-beta01
- Allow Intents.release without Intents.init
- JUnit 1.1.2-beta01
- Monitor 1.3.0-beta01
- Orchestrator 1.3.0-beta01
- Runner 1.3.0-beta01
- Only delegate to RobolectricTestRunner if its on the classpath
- Support filtering by prerelease SDKs via SdkSuppress#codeName
- Rules 1.3.0-beta01
- Deprecate ActivityTestRule
- Truth 1.3.0-beta01
- Make LocationSubject override isEqualTo
- Test Services 1.3.0-beta01
Version 1.3.0-alpha05
۱۷ مارس ۲۰۲۰
This is an alpha release of AndroidX Test 1.3.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.0-alpha05
- Skip starting and finish animations for the empty activity used in ActivityScenario. (Fixes #411)
- Handle Activities launched via implicit intents. (Fixes #496)
- Espresso 3.3.0-alpha05
- ViewMatchers.isDisplayingAtLeast() works for views with negative scale.
- Remove spurious wait in waitForAtLeastOneActivityToBeResumed.
- Set correct meta state for ACTION_UP
- Intents 3.3.0-alpha05
- JUnit 1.1.2-alpha05
- Monitor 1.3.0-alpha05
- Orchestrator 1.3.0-alpha05
- Runner 1.3.0-alpha05
- Ignore all LinkageError exceptions when scanning classpath for tests. (Fixes #439)
- Initialize InstrumentationRegistry before creating RunListeners from RunnerArgs
- Rules 1.3.0-alpha05
- Truth 1.3.0-alpha05
- Test Services 1.3.0-alpha05
Version 1.3.0-alpha04
۲۰ فوریه ۲۰۲۰
This is an alpha release of AndroidX Test 1.3.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.0-alpha04
- Espresso 3.3.0-alpha04
- Fix the error message when Espresso is busy due to processing messages rather than idling resources
- Intents 3.3.0-alpha04
- JUnit 1.1.2-alpha04
- Monitor 1.3.0-alpha04
- Orchestrator 1.3.0-alpha04
- Runner 1.3.0-alpha04
- Fix AndroidJUnitRunner to report a test as failure if a StrictMode violation occurs
- Add additional info when JUnit4 test class is malformed for easier diagnostics
- Rules 1.3.0-alpha04
- Truth 1.3.0-alpha04
- Test Services 1.3.0-alpha04
- Include the test storage service in the test services
Here's a full list of commits contained in version 1.3.0-alpha04 .
نسخه ۱.۳.۰-آلفا۰۳
۳ دسامبر ۲۰۱۹
This is an alpha release of AndroidX Test 1.3.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.3.0-alpha03
- Support ActivityOptions in ActivityScenario
- Espresso 3.3.0-alpha03
- Fix NoSuchMethodError when testing with AccessibilityChecks enabled (#376)
- Intents 3.3.0-alpha03
- JUnit 1.1.2-alpha03
- Monitor 1.3.0-alpha03
- Orchestrator 1.3.0-alpha03
- Runner 1.3.0-alpha03
- Ignore NoClassDefFoundErrors when performing classpath scanning for tests
- Add better error handling on unhandled exceptions
- Allowing opting out of 'waitForActivitiesToComplete' via a runner argument
- Rules 1.3.0-alpha03
- Truth 1.3.0-alpha03
- Update Location extensions to behave better with nulls.
- Add stringArrayList and parcelableArrayList methods to BundleSubject
Version 1.2.1
Version 1.2.1-alpha02
۱۵ ژوئیه ۲۰۱۹
This is an alpha release of AndroidX Test 1.2.1. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.2.1-alpha02
- Make activity lifecycle transition timeout configurable
- Espresso 3.3.0-alpha02
- Intents 3.3.0-alpha02
- Add a BundleMatchers.isEmpty() and isEmptyOrNull() methods
- JUnit 1.1.2-alpha02
- Monitor 1.3.0-alpha02
- Orchestrator 1.3.0-alpha02
- Runner 1.3.0-alpha02
- Rules 1.3.0-alpha02
- Truth 1.3.0-alpha02
- Update to com.google.truth:truth:1.0 and com.google.guava:guava:27.0.1-android
Version 1.2.1-alpha01
June 17, 2019
This is an alpha release of AndroidX Test 1.2.1. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.2.1-alpha01
- Includes toolchain fix for 'Invalid parameter counts in MethodParameter attributes' build warning
- Espresso 3.3.0-alpha01
- contrib: Replace usages of RecyclerView.findViewHolderForPosition method with its replacement
- Intents 3.3.0-alpha01
- JUnit 1.1.2-alpha01
- Monitor 1.3.0-alpha01
- Orchestrator 1.3.0-alpha01
- Runner 1.3.0-alpha01
- Rules 1.3.0-alpha01
- Allow subclasses of ServiceTestRule to customize timeout
- Truth 1.3.0-alpha01
- Add truth extensions for Location
نسخه ۱.۲.۰
نسخه ۱.۲.۰
May 29, 2019
This is the stable release of AndroidX Test 1.2.0. It contains updates to the following libraries:
- Core 1.2.0
- Espresso 3.2.0
- Intents 3.2.0
- JUnit 1.1.1
- Monitor 1.2.0
- Orchestrator 1.2.0
- Runner 1.2.0
- Rules 1.2.0
- Truth 1.2.0
Version 1.2.0-beta01
May 6, 2019
This is an beta release of AndroidX Test 1.2.0. It contains updates to the following libraries:
- Core 1.2.0-beta01
- More gracefully handle situations where multiple ActivityScenarios are used in a test
- Espresso 3.2.0-beta01
- Intents 3.2.0-beta01
- JUnit 1.1.1-beta01
- Monitor 1.2.0-beta01
- Instrumentation.runOnMainSync() propogates exceptions back to calling thread
- Orchestrator 1.2.0-beta01
- Runner 1.2.0-beta01
- Rules 1.2.0-beta01
- Truth 1.2.0-beta01
Version 1.2.0-alpha05
۳۰ آوریل ۲۰۱۹
This is an alpha release of AndroidX Test 1.2.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.2.0-alpha05
- Make ActivityScenario#onActivity callable from the main thread
- Espresso 3.2.0-alpha05
- More deflaking of openActionBarOverflowOrOptionsMenu
- Intents 3.2.0-alpha05
- JUnit 1.1.1-alpha05
- Monitor 1.2.0-alpha05
- Orchestrator 1.2.0-alpha05
- Runner 1.2.0-alpha05
- Rules 1.2.0-alpha05
- Truth 1.2.0-alpha05
- update to upstream google Truth 0.44
Version 1.2.0-alpha04
۱۸ آوریل ۲۰۱۹
This is an alpha release of AndroidX Test 1.2.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.2.0-alpha04
- Espresso 3.2.0-alpha04
- Deflake openActionBarOverflowOrOptionsMenu
- Add hook in androidx.test to simulate a window focus changed for local test environments
- Intents 3.2.0-alpha04
- JUnit 1.1.1-alpha04
- Monitor 1.2.0-alpha04
- Orchestrator 1.2.0-alpha04
- Runner 1.2.0-alpha04
- Make androidx.test work if legacy android.test classes are not present
- Rules 1.2.0-alpha04
- Truth 1.2.0-alpha04
Version 1.2.0-alpha03
April 7, 2019
This is an alpha release of AndroidX Test 1.2.0. New APIs are subject to change. It contains updates to the following libraries:
- Core 1.2.0-alpha03
- Add getState() API to ActivityScenario
- Espresso 3.2.0-alpha03
- Convert WithTagKeyMatcher to accept
Matcher<?>instead ofMatcher<Obj> - Update link to espresso setup docs
- Fix debug logging when running in different locales
- Convert WithTagKeyMatcher to accept
- Intents 3.2.0-alpha03
- JUnit 1.1.1-alpha03
- Monitor 1.2.0-alpha03
- Another attempt at clearing exception handler to prevent memory leaks in Robolectric.
- Orchestrator 1.2.0-alpha03
- Runner 1.2.0-alpha03
- Add a tests_regex AJUR option to run tests matching a given regular expression.
- Rules 1.2.0-alpha03
- Truth 1.2.0-alpha03
- Expose the ParcelableSubject API
- Add BundleSubject#longInt
- Add IntentSubject#hasComponent
نسخه ۱.۱.۱
Version 1.1.1-alpha02
March 7, 2019
This is an alpha release of AndroidX Test 1.1.1. New APIs are subject to change. It contains updates to the following libraries:
- Espresso 3.2.0-alpha02
- Intents 3.2.0-alpha02
- Add IntentMatchers#filterEquals
- Fix activity lifecycle timing bug in Intents#intended(). It now idles main looper before checking activity state.
- Runner 1.1.2-alpha02
- Allow specifying both package and class filters.
- Truth 1.2.0-alpha02
- JUnit 1.1.1-alpha02
- Core 1.1.1-alpha02
- Throw a RuntimeException when Activity cannot be resolved.
- Monitor 1.1.2-alpha02
- Clear reference to uncaught exception handler to prevent memory leaks in Robolectric.
- Rules 1.1.2-alpha02
- Orchestrator 1.1.2-alpha02
Version 1.1.1-alpha01
January 30, 2019
This is an alpha release of AndroidX Test 1.1.1. New APIs are subject to change. It contains updates to the following libraries:
- Espresso 3.1.2-alpha01
- Added method AccessibilityChecks.disable().
- Intents 3.1.2-alpha01
- Add IntentMatchers#hasDataString
- Fix activity lifecycle timing bug in Intents#intended(). It now idles main looper before checking activity state.
- Runner 1.1.2-alpha01
- AndroidJUnitRunner now accepts comma separated class list in -e annotation option, for running only tests with all of the given annotations
- Truth 1.1.1-alpha01
- Add filtersEquallyTo() to IntentSubject for comparison of intents using Intent.filterEquals().
- JUnit 1.1.1-alpha01
- Core 1.1.1-alpha01
- Monitor 1.1.2-alpha01
- Rules 1.1.2-alpha01
- Orchestrator 1.1.2-alpha01
نسخه ۱.۱.۰
نسخه ۱.۱.۰
۱۳ دسامبر ۲۰۱۸
This is the stable release of AndroidX Test 1.1.0. It contains updates to the following libraries:
- Espresso 3.1.1
- Runner 1.1.1
- Rules 1.1.1
- Monitor 1.1.
- AndroidTestOrchestrator 1.1.1
- Core 1.1.0
- Truth 1.1.0
JUnit 1.1.0
Core 1.1.0
- Make ActivityScenario support activities which start another activity
نسخه ۱.۱.۰-بتا۰۱
December 6, 2018
This is the beta01 release of AndroidX Test 1.1.0. It contains updates to the following libraries:
- Core 1.1.0-beta01
- New core-ktx kotlin extension artifact! Includes a kotlin-friendly ActivityScenario.launchActivity API
- New ActivityScenario API for launching activities with custom intents
- New ActivityScenario API for receiving an Activity result
- Make ActivityScenario closeable
- Espresso3.1.1-beta01
- Modify withResourceNameMatcher and HumanReadables to be API 28 compatible.
- Update ReplaceTextAction's description to include the stringToBeSet
- Support Espresso in Robolectric paused looper mode.
- JUnit 1.1.0-beta01
- New ActivityScenarioRule API, for auto-launching and closing an Activity on test setup and teardown
- New junit-ktx kotlin extension artifact! Includes a kotlin-friendly ActivityScenarioRule API
- Runner 1.1.1-beta01
- Make -e package and -e testFile consistent in behavior when receiving packages
- Truth 1.1.0-beta01
- Add bool, parcelable, and parcelableAsType BundleSubject APIs
- Rules 1.1.1-beta01
- Monitor 1.1.1-beta01
- AndroidTestOrchestrator 1.1.1-beta01
نسخه ۱.۰.۰
نسخه ۱.۰.۰
۲۴ اکتبر ۲۰۱۸
- All libraries
- Set minSdkVersion to 14 and targetSdkVersion to 28
- Espresso 3.1.0
- Fix withContentDescription to work with non-string types
- Add support for using Espresso on Robolectric
- Issue 73044169 : Espresso ViewMatchers.withText doesn't work when textAllCaps is enabled
- Add support for injecting a sequence of motion events
- Intents
- Add beta API for retrieving list of intents. Intended for use with new truth assertions
- Runner 1.1.0
- Add support for instant apps
- Deprecate androidx.test.runner.AndroidJUnit4 and replace with androidx.test.ext.junit.runners.AndroidJUnit4
- Monitor 1.1.0
- Deprecate androidx.test.InstrumentationRegistry and replace with androidx.test.platform.app.InstrumentationRegistry and androidx.test.core.app.ApplicationProvider
- AndroidTestOrchestrator 1.1.0
- Only enable orchestrator coverage handling if both 'coverage' and 'coverageFilePath' arguments are passed.
- Only wait for debugger when the -debug is set but not for listing ATO test cases. A new orchestratorDebug flag was added for debugging orchestrator itself
- Core 1.0.0
- New artifact! Includes new APIs that support both local and on-device tests for:
- Retrieving context: ApplicationProvider
- Controlling activity lifecycles: ActivityScenario(beta)
- Builders for MotionEvent, PackageInfo
- Parceables utility class
- New artifact! Includes new APIs that support both local and on-device tests for:
- Truth 1.0.0
- New artifact! Includes custom truth subjects for Notification, Intent, Bundle, Parcelable, and MotionEvent
- JUnit 1.0.0
- New artifact! Includes JUnit runner class androidx.test.ext.junit.runners.AndroidJUnit4 that supports both local and on-device tests.