-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#13] [Part 2] Implement the base Clean Architecture with MVVM: data and domain layer #37
[#13] [Part 2] Implement the base Clean Architecture with MVVM: data and domain layer #37
Conversation
} | ||
|
||
@Test | ||
fun `When calling getUsersUseCase successfully - it returns users`() = runTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function names should match the pattern: [a-zA-Z][a-zA-Z0-9]* |
Kover report:🧛 Unit Tests Code Coverage:
|
File | Coverage |
---|---|
ApiClient.kt |
0.00% |
ApiException.kt |
0.00% |
GetUsersUseCase.kt |
100.00% |
HttpRequestBuilderExtension.kt |
0.00% |
RepositoryImpl.kt |
100.00% |
ResponseMapping.kt |
100.00% |
UserModel.kt |
100.00% |
UserRemoteDataSource.kt |
0.00% |
UserResponse.kt |
100.00% |
Modified Files Not Found In Coverage Report:
.gitignore
AndroidManifest.xml
Configurations.kt
Dependencies.kt
Fake.kt
GetUsersUseCaseTest.kt
PlatformModule.kt
PlatformModule.kt
RemoteModule.kt
Repository.kt
RepositoryModule.kt
RepositoryTest.kt
ResponseMappingTest.kt
UseCaseModule.kt
build.gradle.kts
build.gradle.kts
build.gradle.kts
build.gradle.kts
build.gradle.kts
buildKonfig.properties.sample
detekt.yml
detekt.yml
test.yml
Codebase cunningly covered by count Shroud 🧛
Generated by 🚫 Danger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some early reviews for you 👋
...src/commonMain/kotlin/co/nimblehq/kmm/template/data/extension/HttpRequestBuilderExtension.kt
Outdated
Show resolved
Hide resolved
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/domain/repository/Repository.kt
Outdated
Show resolved
Hide resolved
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/domain/usecase/GetUsersUseCase.kt
Outdated
Show resolved
Hide resolved
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/domain/usecase/GetUsersUseCaseTest.kt
Outdated
Show resolved
Hide resolved
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/util/TestUtil.kt
Outdated
Show resolved
Hide resolved
4651efc
to
eed3db7
Compare
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/domain/usecases/GetUsersUseCaseTest.kt
Outdated
Show resolved
Hide resolved
26fdb62
to
b6c14ee
Compare
fde1683
to
ba86c47
Compare
@kaungkhantsoe is this PR ready for review yet? |
Not yet @luongvo, I am still working on it. 🙏 |
2ada03f
to
d31fefd
Compare
ed7140a
to
13dde54
Compare
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/data/repository/RepositoryImpl.kt
Outdated
Show resolved
Hide resolved
...ed/src/commonMain/kotlin/co/nimblehq/kmm/template/data/remote/model/response/UserResponse.kt
Outdated
Show resolved
Hide resolved
79edc9f
to
4c14109
Compare
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/domain/usecases/GetUsersUseCaseTest.kt
Outdated
Show resolved
Hide resolved
c72e7ef
to
111c067
Compare
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/domain/usecases/GetUsersUseCaseTest.kt
Outdated
Show resolved
Hide resolved
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/data/extensions/ResponseMapping.kt
Outdated
Show resolved
Hide resolved
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/data/remote/ApiClient.kt
Outdated
Show resolved
Hide resolved
97f232c
to
84fbc5c
Compare
shared/src/commonTest/kotlin/co/nimblehq/kmm/template/extensions/ResponseMappingTest.kt
Show resolved
Hide resolved
b8f8e1d
to
d0922a6
Compare
d0922a6
to
4f3eff3
Compare
shared/src/commonMain/kotlin/co/nimblehq/kmm/template/data/extensions/ResponseMapping.kt
Outdated
Show resolved
Hide resolved
26926a6
to
bc97bff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now
What happened 👀
buildSrc
and extract dependenciesKoin
DIKtor
Insight 📝
N/A
Proof Of Work 📹