-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test: Add unit tests for TimeTableViewModel #515
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jan 6, 2025
ksharma-xyz
changed the title
Test for updateTripsCache
Test: Add unit tests for TripResponseBuilder and TimeTableViewModel
Jan 6, 2025
ksharma-xyz
changed the title
Test: Add unit tests for TripResponseBuilder and TimeTableViewModel
Test: Add unit tests for TimeTableViewModel
Jan 6, 2025
ksharma-xyz
force-pushed
the
01-05-add_ut_for_loadtimetable
branch
from
January 6, 2025 06:38
e08db01
to
0be602a
Compare
ksharma-xyz
force-pushed
the
01-06-test_for_updatetripscache
branch
from
January 6, 2025 06:38
948c698
to
8ad4763
Compare
ksharma-xyz
force-pushed
the
01-05-add_ut_for_loadtimetable
branch
from
January 6, 2025 13:12
0be602a
to
eee5afd
Compare
ksharma-xyz
force-pushed
the
01-06-test_for_updatetripscache
branch
from
January 6, 2025 13:13
8ad4763
to
5307515
Compare
ksharma-xyz
force-pushed
the
01-05-add_ut_for_loadtimetable
branch
from
January 8, 2025 00:37
eee5afd
to
77d8448
Compare
ksharma-xyz
force-pushed
the
01-06-test_for_updatetripscache
branch
from
January 8, 2025 00:37
5307515
to
a61f184
Compare
This was referenced Jan 8, 2025
ksharma-xyz
changed the base branch from
01-05-add_ut_for_loadtimetable
to
graphite-base/515
January 8, 2025 00:59
ksharma-xyz
force-pushed
the
01-06-test_for_updatetripscache
branch
from
January 8, 2025 00:59
a61f184
to
ae779c7
Compare
ksharma-xyz
force-pushed
the
graphite-base/515
branch
from
January 8, 2025 00:59
77d8448
to
e1beff2
Compare
ksharma-xyz
force-pushed
the
01-06-test_for_updatetripscache
branch
from
January 8, 2025 01:00
ae779c7
to
e114879
Compare
This was referenced Jan 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Enhanced the trip planning test infrastructure with improved fake builders and added comprehensive tests for journey caching.
What changed?
FakeTripResponseBuilder
with configurable parametersTimeTableViewModel
How to test?
Why make this change?
To improve test coverage and maintainability of the trip planning feature, particularly around journey caching logic. The enhanced fake builders provide more realistic test scenarios and make it easier to test complex journey combinations.