-
Notifications
You must be signed in to change notification settings - Fork 21
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
Write unit tests for untested parts of git-bundle-server
#46
Comments
@vdye I wonder if this should be made an expectation of new work in This would allow us to remove this as an item and instead make it a practice to improve unit testing as we adjust things based on customer needs. What do you think? |
I think there's value in backfilling tests for some of the types/functions we have already (for example, we don't have any unit tests of the subcommands, even though they should generally be testable). Without even a basic framework for these types, filling in the tests alongside functionality changes could create an heavy burden on someone making an otherwise small change. Feel free to unassign yourself if you'd like, but I do plan to knock this out at some point in the near(-ish, within the next couple months) future. |
That's enough reason to keep it around. I will remove myself as I don't anticipate having time to help in this direction in the short term. |
This is likely to be a long-running issue where we incrementally add unit tests for everything unit test-able in the repository (which will be almost everything). This should include:
git-bundle-server
subcommands (mock the contents of the dependency container)RepoProvider
because all filesystem accesses are done in mocked types, but can't testCommandExecutor
).Progress
The text was updated successfully, but these errors were encountered: