Skip to content

Commit

Permalink
BITAU-168 Add Bridge SDK test dependencies (#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaisting-livefront authored Sep 10, 2024
1 parent 4e69ed5 commit 647b3e9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
21 changes: 20 additions & 1 deletion bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 12 additions & 0 deletions bridge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

0 comments on commit 647b3e9

Please sign in to comment.