From e0cd40f8a1d1e53eab146f4ae489a1cd943ac154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A8?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BB=D0=B8=D0=BD=D0=B3?= Date: Sun, 4 Feb 2024 10:03:55 +0000 Subject: [PATCH] add Dependecies --- src/main/java/Dependencies.kt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/main/java/Dependencies.kt b/src/main/java/Dependencies.kt index fde0e53..7fadda8 100644 --- a/src/main/java/Dependencies.kt +++ b/src/main/java/Dependencies.kt @@ -107,6 +107,13 @@ object Dependencies { */ val core = Dependency("androidx.test:core", "1.5.0") + /** + * [androidx.tech](https://androidx.tech/artifacts/test/core/) + * + * [Documentation](https://developer.android.com/training/testing) + */ + val junit = Dependency("androidx.test.ext:junit-ktx", "1.1.5") + /** * [androidx.tech](https://androidx.tech/artifacts/test.espresso/espresso-core/) * @@ -133,6 +140,13 @@ object Dependencies { */ val rules = Dependency("androidx.test:rules", "1.5.0") + /** + * [androidx.tech](https://androidx.tech/artifacts/test/rules/) + * + * [Documentation](https://developer.android.com/training/testing/junit-rules) + */ + val compose = Dependency("androidx.compose.ui:ui-test-junit4", "1.6.0") + /** * [androidx.tech](https://androidx.tech/artifacts/test/orchestrator/) * @@ -181,6 +195,21 @@ object Dependencies { */ val junit = Dependency("junit:junit", "4.13") + /** + * Truth makes your test assertions and failure messages more readable. + * Similar to AssertJ, it natively supports many JDK and Guava types, + * and it is extensible to others. + * + * [Documentation](https://truth.dev/) + * + * [Github](https://github.com/google/truth) + * + * [Apache License 2.0](https://github.com/google/truth/blob/master/LICENSE) + * + * [Changelog](https://github.com/google/truth/releases) + */ + val truth = Dependency("com.google.truth:truth", "1.3.0") + /** * Kaspresso is a framework for Android UI testing. Based on Espresso and UI Automator. *