mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Move Showkase to a dedicated module for ui tests.
This commit is contained in:
committed by
Benoit Marty
parent
57ec77bc1d
commit
d06351b69f
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id("io.element.android-compose-library")
|
||||
alias(libs.plugins.ksp)
|
||||
// TODO Create alias
|
||||
id("app.cash.paparazzi") version "1.0.0"
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "io.element.android.x.tests.uitests"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(libs.test.junit)
|
||||
androidTestImplementation(libs.test.junitext)
|
||||
ksp(libs.showkase.processor)
|
||||
kspTest(libs.showkase.processor)
|
||||
|
||||
// TODO Move to libs
|
||||
testImplementation("com.airbnb.android:showkase-screenshot-testing:$1.0.0-beta14")
|
||||
testImplementation("com.google.testparameterinjector:test-parameter-injector:1.8")
|
||||
|
||||
implementation(project(":libraries:designsystem"))
|
||||
|
||||
implementation(libs.showkase)
|
||||
ksp(libs.showkase.processor)
|
||||
}
|
||||
Reference in New Issue
Block a user