mirror of
https://github.com/bitwarden/android.git
synced 2025-03-16 19:28:44 +03:00
BITAU-168 Add Bridge SDK test dependencies (#3890)
This commit is contained in:
parent
4e69ed57e8
commit
647b3e921b
2 changed files with 32 additions and 1 deletions
|
@ -48,4 +48,23 @@ The following is a list of all third-party dependencies required by the SDK.
|
|||
- **kotlinx.serialization**
|
||||
- https://github.com/Kotlin/kotlinx.serialization/
|
||||
- Purpose: JSON serialization library for Kotlin.
|
||||
- License: Apache 2.0
|
||||
- License: Apache 2.0
|
||||
|
||||
### Development Environment Dependencies
|
||||
|
||||
The following is a list of additional third-party dependencies used as part of the local development environment. This includes test-related artifacts as well as tools related to code quality and linting. These are not present in the final packaged SDK.
|
||||
|
||||
- **JUnit 5**
|
||||
- https://github.com/junit-team/junit5
|
||||
- Purpose: Unit Testing framework for testing SDK code.
|
||||
- License: Eclipse Public License 2.0
|
||||
|
||||
- **MockK**
|
||||
- https://github.com/mockk/mockk
|
||||
- Purpose: Kotlin-friendly mocking library.
|
||||
- License: Apache 2.0
|
||||
|
||||
- **Turbine**
|
||||
- https://github.com/cashapp/turbine
|
||||
- Purpose: A small testing library for kotlinx.coroutine's Flow.
|
||||
- License: Apache 2.0
|
|
@ -49,5 +49,17 @@ kotlin {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// SDK dependencies:
|
||||
implementation(libs.kotlinx.serialization)
|
||||
|
||||
// Test environment dependencies:
|
||||
testImplementation(libs.junit.junit5)
|
||||
testImplementation(libs.mockk.mockk)
|
||||
testImplementation(libs.square.turbine)
|
||||
}
|
||||
|
||||
tasks {
|
||||
withType<Test> {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue