Closed dellisd closed 5 years ago
:exclamation: No coverage uploaded for pull request base (
master@408f427
). Click here to learn what that means. The diff coverage is60.71%
.
@@ Coverage Diff @@
## master #58 +/- ##
========================================
Coverage ? 8.81%
========================================
Files ? 57
Lines ? 635
Branches ? 82
========================================
Hits ? 56
Misses ? 569
Partials ? 10
Impacted Files | Coverage Δ | |
---|---|---|
...l/transpo/ui/trips/GetSelectedRouteTripsUseCase.kt | 0% <0%> (ø) |
|
...mabagel/transpo/ui/trips/GetNextBusTripsUseCase.kt | 81.81% <100%> (ø) |
|
...java/ca/llamabagel/transpo/data/TripsRepository.kt | 58.06% <40%> (ø) |
|
...bagel/transpo/data/CoroutinesDispatcherProvider.kt | 80% <80%> (ø) |
|
.../ca/llamabagel/transpo/di/TransitDatabaseModule.kt | 66.66% <85.71%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 408f427...c3e3cd5. Read the comment docs.
Also look at the codecov diff, you're missing a couple tests.
Some tests aren't being written until those methods are finalized and actually used. (SharedPreference stuff mainly)
What about GetSelectedRouteTripsUseCase?
I mentioned it in the commit message for f71bb70ca02049408ba76c1f0dea194cb7e4668b that I wouldn't be adding it until later because that api may change. It isn't currently in use.
Ah ok, maybe add a note in the pr comment pointing this out?
Checklist
./gradlew test connectedAndroidTest detekt
upstream/master
Issues
Fixes #57
Summary
Added tests for currently-used
TripsRepository
methods Coroutine Dispatchers are now injected into the repository Added codecov to Circle configGetSelectedRouteTripsUseCase is incomplete and tests will be added later @dellisd