Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore: Switch over to fake RepoStore in codenav tests#64284

Merged
varungandhi-src merged 1 commit into
mainfrom
vg/fake
Aug 6, 2024
Merged

chore: Switch over to fake RepoStore in codenav tests#64284
varungandhi-src merged 1 commit into
mainfrom
vg/fake

Conversation

@varungandhi-src

@varungandhi-src varungandhi-src commented Aug 6, 2024

Copy link
Copy Markdown
Contributor

Reduce the exposed surface area with a smaller interface minimalRepoStore,
and make sure we're using fakes in the tests which better document the intent,
instead of using a mock repo store. The fake makes sure that the methods are
mutually consistent, which is easier to do when working with a smaller interface.

Stacked on top of: (EDIT: Removed the below PR from the stack)

Test plan

Existing tests should continue to pass

@cla-bot cla-bot Bot added the cla-signed label Aug 6, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Aug 6, 2024
@varungandhi-src varungandhi-src force-pushed the vg/fake branch 2 times, most recently from f2001b1 to 0ed6486 Compare August 6, 2024 02:14

@kritzcreek kritzcreek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Reduce the exposed surface area with a smaller interface minimalRepoStore,
and make sure we're using fakes in the tests which better document the
intent, instead of using a mock repo store.
@varungandhi-src varungandhi-src changed the base branch from vg/docs to main August 6, 2024 13:02
@varungandhi-src varungandhi-src merged commit 99f7d97 into main Aug 6, 2024
@varungandhi-src varungandhi-src deleted the vg/fake branch August 6, 2024 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants