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
Abstract LibGit2Sharp away in testing context #185
Conversation
@nulltoken I pushed a new version of the PR. Basically, I removed the Shameless quote: I just see it as the product of good design, not as a separate feature that requires tests itself. Please tell me if you're ok with that, or if you want me to reintroduce |
👍 for me. Thanks for this! |
Looks good to me. Any reason we don't apply this to all objects from now on? |
Nice @yorah! I'm happy with this too. |
@yorah Merged. Very nice job! ❤️ |
❤️ thanks everybody! |
This pull request is related to #138, and is a follow-up of #182.
Changes:
IRepository
interface has been introduced.MockedRepositoryFixture
, which shows how to abstract LibGit2sharp in a testing context. If you have a better name for this fixture, please tell!@haacked @nulltoken Would you please be so kind as to review this PR?